Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13509

"fs -getmerge" can fail in an HA NameNode env.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      HDP 2.4.2, HA Cluster

    • Tags:
      hadoop fs hdfs dfs getmerge

      Description

      In an HA cluster env with nn1 (standby) and nn2 (active), "hdfs dfs -getmerge" of "hadoop fs -getmerge" can fail. It references the wrong NameNode (nn1 standby), instead of nn2 (active).

      A work-around is to add "hdfs://<activeNameNodeHost>/", or "hdfs://<clusterName>/", to the start of the first parameter (source in hdfs).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dsidlo@gmail.com David Sidlo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: