Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15747 RBF: Rename across sub-namespaces.
  3. HDFS-16217

RBF: Set default value of hdfs.fedbalance.procedure.scheduler.journal.uri by adding appropriate config resources

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • rbf
    • Hadoop 3.3.0 with patches

    • Reviewed

    Description

      When dfs.federation.router.federation.rename.option is set to DISTCP and hdfs.fedbalance.procedure.scheduler.journal.uri is not set, DFSRouter fails to launch.

      2021-09-08 15:39:11,818 ERROR org.apache.hadoop.hdfs.server.federation.router.DFSRouter: Failed to start router
      java.lang.NullPointerException
      at java.base/java.net.URI$Parser.parse(URI.java:3104)
      at java.base/java.net.URI.<init>(URI.java:600)
      at org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.initRouterFedRename(RouterRpcServer.java:444)
      at org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.<init>(RouterRpcServer.java:419)
      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:164)
      at org.apache.hadoop.hdfs.server.federation.router.DFSRouter.main(DFSRouter.java:69)

      hdfs.fedbalance.procedure.scheduler.journal.uri is hdfs://localhost:8020/tmp/procedure by default, however, the default value is not used in DFSRouter.

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 2h
                  2h