smengcl commented on issue #1360: HDDS-2007. Make ozone fs shell command work 
with OM HA service ids    
URL: https://github.com/apache/hadoop/pull/1360#issuecomment-530800476
 
 
   @arp7 @bharatviswa504 Some acceptance tests are failing because the 
initialization of an `OzoneConfiguration` object in `BasicOzoneFileSystem` in 
commit 
https://github.com/apache/hadoop/pull/1360/commits/b31fd0b20a436fbc6f4028c49d8e0fd04ead53f3.
   
   The 
[log](https://elek.github.io/ozone-ci/pr/pr-hdds-2007-4rjxl/acceptance/summary.html#s1-s1-t1-k2-k2)
 shows:
   ```
   Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/hadoop/hdds/conf/OzoneConfiguration
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at 
org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2204)
        at 
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2169)
        at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2265)
        at 
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2652)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2665)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:93)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2701)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2683)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:372)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)
        at org.apache.hadoop.fs.shell.PathData.expandAsGlob(PathData.java:325)
        at 
org.apache.hadoop.fs.shell.CommandWithDestination.getRemoteDestination(CommandWithDestination.java:188)
        at 
org.apache.hadoop.fs.shell.CopyCommands$Put.processOptions(CopyCommands.java:237)
        at org.apache.hadoop.fs.shell.Command.run(Command.java:164)
        at org.apache.hadoop.fs.FsShell.run(FsShell.java:287)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at org.apache.hadoop.fs.FsShell.main(FsShell.java:340)
   Caused by: java.lang.ClassNotFoundException: 
org.apache.hadoop.hdds.conf.OzoneConfiguration
   ...
   ```
   
   Looks like in the failed smoke tests `BasicOzoneFileSystem` can't load the 
jar that has `OzoneConfiguration`. Any suggestions?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to