[ 
https://issues.apache.org/jira/browse/HADOOP-14487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037002#comment-16037002
 ] 

Steve Loughran commented on HADOOP-14487:
-----------------------------------------

stack. Something is wrong, but I am left working out what, whether its s3guard, 
etc.

{code}
- commit *** FAILED ***  java.lang.IllegalArgumentException: childPath must be 
a child of path
  at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
  at 
org.apache.hadoop.fs.s3a.s3guard.DirListingMetadata.childStatusToPathKey(DirListingMetadata.java:298)
  at 
org.apache.hadoop.fs.s3a.s3guard.DirListingMetadata.put(DirListingMetadata.java:221)
  at org.apache.hadoop.fs.s3a.s3guard.S3Guard.dirListingUnion(S3Guard.java:223)
  at 
org.apache.hadoop.fs.s3a.S3AFileSystem.innerListStatus(S3AFileSystem.java:1688)
  at org.apache.hadoop.fs.s3a.S3AFileSystem.listStatus(S3AFileSystem.java:1640)
  at 
com.hortonworks.spark.cloud.s3.S3AConsistencySuite$$anonfun$7.apply$mcV$sp(S3AConsistencySuite.scala:82)
  at 
com.hortonworks.spark.cloud.CloudSuiteTrait$$anonfun$ctest$1.apply$mcV$sp(CloudSuiteTrait.scala:62)
  at 
com.hortonworks.spark.cloud.CloudSuiteTrait$$anonfun$ctest$1.apply(CloudSuiteTrait.scala:60)
  at 
com.hortonworks.spark.cloud.CloudSuiteTrait$$anonfun$ctest$1.apply(CloudSuiteTrait.scala:60)
  ...2017-06-05 14:48:45,270 [ScalaTest-main-running-S3AConsistencySuite] INFO  
s3a.InconsistentAmazonS3Client 
(InconsistentAmazonS3Client.java:isKeyDelayed(200)) - delaying 
cloud-integration/DELAY_LISTING_ME/S3AConsistencySuite/work/task00/part-002017-06-05
 14:48:45,270 [ScalaTest-main-running-S3AConsistencySuite] DEBUG 
s3a.S3AFileSystem (S3AFile
{code}

> DirListingMetadata precondition failure messages to include path at fault
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-14487
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14487
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: HADOOP-13345
>            Reporter: Steve Loughran
>            Priority: Minor
>
> I've done something wrong in my code and getting "" childPath must be a child 
> of path", which is all very well, but it doesn't include paths.
> The precondition checks all need to include the relevant path info for users 
> to start working out what has gone wrong.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to