XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • None
    • None
    • Reviewed

    Description

      If the federation has no subclusters the logs have long stack traces. Even though this is not a regular setup for RBF, we should trigger log message.

      An example:

      Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
      	at java.util.LinkedList.get(LinkedList.java:476)
      	at org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient.invokeConcurrent(RouterRpcClient.java:1028)
      	at org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getDatanodeReport(RouterRpcServer.java:1264)
      	at org.apache.hadoop.hdfs.server.federation.metrics.FederationMetrics.getNodeUsage(FederationMetrics.java:424)
      

      Attachments

        1. HDFS-13410.000.patch
          7 kB
          Íñigo Goiri
        2. HDFS-13410.001.patch
          7 kB
          Íñigo Goiri
        3. HDFS-13410.002.patch
          7 kB
          Íñigo Goiri

        Issue Links

          Activity

            People

              elgoiri Íñigo Goiri
              elgoiri Íñigo Goiri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: