Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6400

Cannot execute "hdfs oiv_legacy"

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • tools
    • Reviewed

    Description

      HDFS-6293 added "hdfs oiv_legacy" command to view a legacy fsimage, but cannot execute the command.
      In hdfs,

      elif [ "COMMAND" = "oiv_legacy" ] ; then
        CLASS=org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer
      

      should be

      elif [ "$COMMAND" = "oiv_legacy" ] ; then
        CLASS=org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer
      

      Attachments

        1. HDFS-6400.patch
          0.7 kB
          Akira Ajisaka
        2. HDFS-6400.2.patch
          2 kB
          Akira Ajisaka

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aajisaka Akira Ajisaka
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment