Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2373

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0, 0.24.0
    • Fix Version/s: 0.20.205.0, 0.24.0
    • Component/s: webhdfs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.

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

        Activity

        Arpit Gupta created issue -
        Arpit Gupta made changes -
        Field Original Value New Value
        Attachment HDFS-2373.20s.patch [ 12496638 ]
        Arpit Gupta made changes -
        Assignee Arpit Gupta [ arpitgupta ]
        Arpit Gupta made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.20.205.0 [ 12316392 ]
        Arpit Gupta made changes -
        Attachment HDFS-2373.patch [ 12496709 ]
        Arpit Gupta made changes -
        Attachment HDFS-2373-1.patch [ 12496715 ]
        Arpit Gupta made changes -
        Attachment HDFS-2373.20s-1.patch [ 12496718 ]
        Arpit Gupta made changes -
        Fix Version/s 0.24.0 [ 12317653 ]
        Affects Version/s 0.24.0 [ 12317653 ]
        Arpit Gupta made changes -
        Attachment HDFS-2373-1.patch [ 12496767 ]
        Arpit Gupta made changes -
        Attachment HDFS-2373-1.patch [ 12496715 ]
        Arpit Gupta made changes -
        Attachment HDFS-2373-1.patch [ 12496767 ]
        Arpit Gupta made changes -
        Attachment HDFS-2373.patch [ 12496769 ]
        Arpit Gupta made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Arpit Gupta made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Suresh Srinivas made changes -
        Summary webhdfs and hftp print extra info to the console Commands using webhdfs and hftp print extra info on the console with security enabled
        Suresh Srinivas made changes -
        Summary Commands using webhdfs and hftp print extra info on the console with security enabled Commands using webhdfs and hftp print unnecessary debug information on the console with security enabled
        Suresh Srinivas made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Eli Collins made changes -
        Target Version/s 0.23.1 [ 12318885 ]
        Eli Collins made changes -
        Component/s webhdfs [ 12319200 ]

          People

          • Assignee:
            Arpit Gupta
            Reporter:
            Arpit Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development