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

Commands using webhdfs and hftp print unnecessary debug information on the console with security enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.205.0, 2.0.0-alpha
    • 0.20.205.0, 3.0.0-alpha1
    • webhdfs
    • None
    • Reviewed

    Description

      run an hdfs command using either hftp or webhdfs and it prints the following line to the console (system out)

      Retrieving token from: https://NN_HOST:50470/getDelegationToken

      Probably in the code where we get the delegation token. This should be removed as people using the dfs commands to get a handle to the content such as dfs -cat will now get an extra line that is not part of the actual content. This should either be only in the log or not logged at all.

      Attachments

        1. HDFS-2373.20s.patch
          0.7 kB
          Arpit Gupta
        2. HDFS-2373.patch
          5 kB
          Arpit Gupta
        3. HDFS-2373.20s-1.patch
          3 kB
          Arpit Gupta
        4. HDFS-2373.patch
          5 kB
          Arpit Gupta

        Activity

          People

            arpitgupta Arpit Gupta
            arpitgupta Arpit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: