Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15294 Federation balance tool
  3. HDFS-15845

RBF: Router fails to start due to NoClassDefFoundError for hadoop-federation-balance

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • rbf
    • Reviewed

    Description

      $ hdfs dfsrouter
      ...
      2021-02-22 17:21:55,400 ERROR router.DFSRouter: Failed to start router
      java.lang.NoClassDefFoundError: org/apache/hadoop/tools/fedbalance/procedure/BalanceProcedure
              at org.apache.hadoop.hdfs.server.federation.router.RouterClientProtocol.<init>(RouterClientProtocol.java:195)
              at org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.<init>(RouterRpcServer.java:394)
              at org.apache.hadoop.hdfs.server.federation.router.Router.createRpcServer(Router.java:391)
              at org.apache.hadoop.hdfs.server.federation.router.Router.serviceInit(Router.java:188)
              at org.apache.hadoop.service.AbstractService.init(AbstractService.java:165)
              at org.apache.hadoop.hdfs.server.federation.router.DFSRouter.main(DFSRouter.java:69)
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.tools.fedbalance.procedure.BalanceProcedure
              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              ... 6 more
      2021-02-22 17:21:55,402 INFO util.ExitUtil: Exiting with status 1: java.lang.NoClassDefFoundError: org/apache/hadoop/tools/fedbalance/procedure/BalanceProcedure
      2021-02-22 17:21:55,404 INFO router.DFSRouter: SHUTDOWN_MSG:
      

      Attachments

        Issue Links

          Activity

            People

              tasanuma Takanobu Asanuma
              tasanuma Takanobu Asanuma
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m