Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10369

Set Times API doesn't work with linked buckets.

    XMLWordPrintableJSON

Details

    Description

      Set times API doesn't work with linked buckets as in code we don't resolve the linked bucket.

      KEY_NOT_FOUND org.apache.hadoop.ozone.om.exceptions.OMException: Key not found. Key:key-simple-3.txt
      	at org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.handleError(OzoneManagerProtocolClientSideTranslatorPB.java:728)
      	at org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.setTimes(OzoneManagerProtocolClientSideTranslatorPB.java:2370)
      	at org.apache.hadoop.ozone.client.rpc.RpcClient.setTimes(RpcClient.java:2412)
      	at org.apache.hadoop.ozone.client.OzoneBucket.setTimes(OzoneBucket.java:921)
      	at org.apache.hadoop.fs.ozone.BasicRootedOzoneClientAdapterImpl.setTimes(BasicRootedOzoneClientAdapterImpl.java:1424)
      	at org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.setTimes(BasicRootedOzoneFileSystem.java:1570)
      	at com.cloudera.enterprise.distcp.mapred.RetriableFileCopyCommand.doExecute(RetriableFileCopyCommand.java:231)
      	at com.cloudera.enterprise.distcp.util.RetriableCommand.execute(RetriableCommand.java:87)
      	at com.cloudera.enterprise.distcp.mapred.CopyMapper.copyFileWithRetry(CopyMapper.java:655)
      	at com.cloudera.enterprise.distcp.mapred.CopyMapper.map(CopyMapper.java:481)
      	at com.cloudera.enterprise.distcp.mapred.CopyMapper.map(CopyMapper.java:70)
      	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
      

      Attachments

        Issue Links

          Activity

            People

              sadanand_shenoy Sadanand Shenoy
              sadanand_shenoy Sadanand Shenoy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: