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

Support Ozone HddsDatanodeService run as plugin with HDFS Datanode

    XMLWordPrintableJSON

Details

    Description

      In RunningWithHDFS.md 

      export HADOOP_CLASSPATH=/opt/ozone/share/hadoop/ozoneplugin/hadoop-ozone-datanode-plugin.jar

      ozone-hdfs/docker-compose.yaml

       

            environment:
               HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozoneplugin/*.jar
      

      when i run hddsdatanodeservice as pulgin in hdfs datanode, it comes out with the error below , there is no constructor without parameter.

       

       

      2019-10-21 21:38:56,391 ERROR datanode.DataNode (DataNode.java:startPlugins(972)) - Unable to load DataNode plugins. Specified list of plugins: org.apache.hadoop.ozone.HddsDatanodeService
      java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.ozone.HddsDatanodeService.<init>()
      

      what i doubt is that, ozone-0.5 not support running as a plugin in hdfs datanode now ? if so, 

      why donnot  we remove doc RunningWithHDFS.md ? 

      Attachments

        Issue Links

          Activity

            People

              Huachao luhuachao
              Huachao luhuachao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m