Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2939 Ozone FS namespace
  3. HDDS-4321

Fix compilation errors : merge HDDS-4308 and HDDS-4473 changes into the branch

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      This is tracking Jira to revisit the quota implementation once HDDS-4308  task is committed.

      Need to revisit all the newly created "*RequestV1.java" and "*ResponseV1.java" set of classes and incorporate these changes into it.

      OMDirectoryCreateRequestV1.java
      OMFileCreateRequestV1.java
      OMAllocateBlockRequestV1.java
      OMKeyCommitRequestV1.java
      OMKeyDeleteRequestV1.java

       

      Following compilation error has to be fixed, which occurred after rebasing the branch to latest master code.
       

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-ozone-ozone-manager: Compilation failure: Compilation failure: 
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMFileCreateRequestV1.java:[191,7] cannot find symbol
      [ERROR]  symbol:  method checkVolumeQuotaInBytes(org.apache.hadoop.ozone.om.helpers.OmVolumeArgs,long)
      [ERROR]  location: class org.apache.hadoop.ozone.om.request.file.OMFileCreateRequestV1
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMFileCreateRequestV1.java:[207,19] cannot find symbol
      [ERROR]  symbol:  method getUsedBytes()
      [ERROR]  location: variable omVolumeArgs of type org.apache.hadoop.ozone.om.helpers.OmVolumeArgs
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMFileCreateRequestV1.java:[208,34] long cannot be dereferenced
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java:[1893,11] cannot find symbol
      [ERROR]  symbol:  method sortDatanodeInPipeline(org.apache.hadoop.ozone.om.helpers.OmKeyInfo,java.lang.String)
      [ERROR]  location: class org.apache.hadoop.ozone.om.KeyManagerImpl
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java:[2443,11] cannot find symbol
      [ERROR]  symbol:  method sortDatanodeInPipeline(org.apache.hadoop.ozone.om.helpers.OmKeyInfo,java.lang.String)
      [ERROR]  location: class org.apache.hadoop.ozone.om.KeyManagerImpl
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyCommitRequestV1.java:[172,19] cannot find symbol
      [ERROR]  symbol:  method getUsedBytes()
      [ERROR]  location: variable omVolumeArgs of type org.apache.hadoop.ozone.om.helpers.OmVolumeArgs
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyCommitRequestV1.java:[173,34] long cannot be dereferenced
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyDeleteRequestV1.java:[153,19] cannot find symbol
      [ERROR]  symbol:  method getUsedBytes()
      [ERROR]  location: variable omVolumeArgs of type org.apache.hadoop.ozone.om.helpers.OmVolumeArgs
      [ERROR] /Users/rakeshr/Desktop/ozone/fork_m7/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyDeleteRequestV1.java:[154,34] long cannot be dereferenced
      [ERROR] -> [Help 1]
      

       

      Attachments

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: