Unsolved
This post is more than 5 years old
5 Posts
0
1508
Unable to trigger EBR event
I am having trouble triggering the EBR event on a clip that I created; I get the error "Attempt to trigger an ebr event on a non-ebr clip" even though I enabled EBR on the clip.
Here is the sequence I used when creating the clip:
clip = new FPClip(pool, name);
clip.enableEBRWithPeriod(604800);
// Populate a parent tag with attributes, and a child tag with attributes and a blob
clipId = clip.Write();
Here is a dump from the clip made by another program a few hours after I created it (plus comments describing where the data comes from):
Name: nycwii # clip.getName()
Size: 11984 # clip.getTotalSize()
Created: 2012-11-08T13:46:25 (1352400385000) # clip.getCreationDate()
Tags: 2 # clip.getNumTags()
Blobs: 1 # clip.getNumBlobs()
EBR: true # clip.isEBREnabled()
EBR Class: # clip.getEBRClassName()
EBR Period: 604800 seconds # clip.getEBRPeriod()
EBR Event Time: 0 (Wed Dec 31 19:00:00 EST 1969) # clip.getEBREventTime()
Retention:
Retention Class: # clip.getRetentionClassName()
Retention Hold: false # clip.getRetentionHold()
Retention Period: 0 # clip.getRetentionPeriod()
Attributes (19): # Enumerate through clip.getDescriptionAttributes()
creation.poolid = "265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb-8"
retention.wait_state = "enabled"
retention.vperiod = "604800"
retention.period = "0"
sdk.version = "3.2.705"
modification.poolid = "265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb-8"
type = "Standard"
name = "nycwii"
creation.date = "2012.11.08 18:46:25 GMT"
modification.date = "2012.11.08 18:46:25 GMT"
creation.profile = "Wiidevtest"
modification.profile = "Wiidevtest"
numfiles = "1"
totalsize = "11984"
refid = "14B0VU1G0QMRS4CJ475IJICGTU"
clusterid = "265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb"
prev.clip = ""
clip.naming.scheme = "MD5"
numtags = "2"
These are the options and capabilities of the cluster, which I dump each time I connect:
FPPool Options:
buffersize = 16384
clusternonavailtime = 600
collisionavoidance = 0
embedding_threshold = 102400
multiclusterfailover = 1
maxconnections = 100
multicluster_delete_clusters = 0 (FP_PRIMARY_ONLY)
multicluster_exists_clusters = 3 (FP_ALL_CLUSTERS)
multicluster_query_clusters = 3 (FP_ALL_CLUSTERS)
multicluster_read_clusters = 3 (FP_ALL_CLUSTERS)
multicluster_write_clusters = 0 (FP_PRIMARY_ONLY)
multicluster_delete_strategy = 0 (FP_NO_STRATEGY)
multicluster_exists_strategy = 1 (FP_FAILOVER_STRATEGY)
multicluster_query_strategy = 1 (FP_FAILOVER_STRATEGY)
multicluster_read_strategy = 2 (FP_REPLICATION_STRATEGY)
multicluster_write_strategy = 0 (FP_NO_STRATEGY)
openstrategy = 1 (FP_LAZY_OPEN)
prefetchsize = 32768
probetimelimit = 60
retrycount = 6
retrysleep = -1
timeout = 120000
FPPool Capabilities:
monitor.allowed = 'false'
blobnaming.supported-schemes = 'MD5,MG'
privileged-delete.allowed = 'false'
privileged-delete.pools = ''
compliance.mode = 'CE'
compliance.ebr = 'supported'
compliance.retention-hold = 'supported'
compliance.min-max = 'supported'
retention-hold.allowed = 'false'
retention-hold.pools = ''
write.allowed = 'true'
write.pools = '265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb-8'
delete.allowed = 'true'
delete.pools = '265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb-8'
deletionlogging.supported = 'true'
retention.default = '0'
retention.fixedminimum = '0'
retention.fixedmaximum = '-1'
retention.variableminimum = '0'
retention.variablemaximum = '-1'
read.allowed = 'true'
read.pools = '265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb-8'
exist.allowed = 'true'
exist.pools = '265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb-8'
poolmappings.pools = ''
poolmappings.profiles = ''
purge.allowed = 'false'
purge.pools = ''
clip-enumeration.allowed = 'true'
clip-enumeration.pools = '265f274e-1dd2-11b2-b0c6-ae8c1a1c3cfb-8'
And finally, here is what I am trying to do, and the error I am receiving:
clip = new FPClip(pool, "1T6ADHLI6E2IAe8E5M2O0P9T9ACG417BGLGDIB0S4CJ475IJICGTU");
clip.triggerEBREvent();
2012-11-09 10:42:18,732 [main] CenteraEventTriggerApp ERROR - Failed to trigger clip 1T6ADHLI6E2IAe8E5M2O0P9T9ACG417BGLGDIB0S4CJ475IJICGTU
com.filepool.fplibrary.FPLibraryException: Attempt to trigger an ebr event on a non-ebr clip
at com.filepool.fplibrary.FPClip.triggerEBREvent(Unknown Source)
at CenteraEventTriggerApp.main(CenteraEventTriggerApp.java:226)
Am I doing something wrong? It looks like, from the capabilities of the cluster, I should have access to EBR. Did I make a mistake in how I am creating the clip, or in how I am triggering the EBR event?
Satish_Kutty
216 Posts
0
November 13th, 2012 23:00
Hi,
Refer to the Primus solution ID "emc138065" which expalins the most common errors for Centera SDK.Hope it helps.
Regards
Satish.N.Kutty
JPearson2
5 Posts
0
November 15th, 2012 11:00
That solution contains nothing about my specific error, nor even anything related to EBR. Still haven't found a solution on my own, either.
Satish_Kutty
216 Posts
0
November 30th, 2012 08:00
Hi,
Could you also try posting the query under the Developer community where issues with SDK's are also discussed "ECN > Developer Network > Centera".
Regards
Satish N Kutty