You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two Pails that use the same PailStructure. One is empty. The other is not. The non-empty one has been consolidated. I cannot absorb the non-empty one into the empty one.
Exception in thread "main" java.lang.IllegalArgumentException: 1/EMOTICON/a4/consa49b6198-b8fd-45b8-a3df-c3d3c4bec4b1 is not valid with the pail structure {structure={"@class":"com.rincaro.mapreduce.store.timeseriesstore.TemplateTimeSeriesPailStructure","keyDescriptor":{"@class":"com.rincaro.timeseries.itimeseries.text.SimpleTextKeyDescriptor"},"template":"${type}"}, args={compressionCodec=gzip, compressionType=block}, format=SequenceFile} --> [1, EMOTICON, a4]
at com.backtype.hadoop.pail.Pail.checkValidStructure(Pail.java:565)
at com.backtype.hadoop.pail.Pail.checkCombineValidity(Pail.java:308)
at com.backtype.hadoop.pail.Pail.absorb(Pail.java:443)
at com.backtype.hadoop.pail.Pail.absorb(Pail.java:431)
In my example, my pail structure has two levels. The issue is that after consolidation, the directory structure has an extra level of indirection below the directories created to reflect the target structure. This is not handled properly.
Now, I could change my implementation of isValidTarget() to work around the problem. But it does not solve the problem.
The text was updated successfully, but these errors were encountered:
I have two Pails that use the same PailStructure. One is empty. The other is not. The non-empty one has been consolidated. I cannot absorb the non-empty one into the empty one.
In my example, my pail structure has two levels. The issue is that after consolidation, the directory structure has an extra level of indirection below the directories created to reflect the target structure. This is not handled properly.
Now, I could change my implementation of isValidTarget() to work around the problem. But it does not solve the problem.
The text was updated successfully, but these errors were encountered: