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

Better option for curl in hadoop-auth-examples

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.2.1, 3.1.3
    • Component/s: documentation
    • Labels:
      None
    • Environment:

      Ubuntu 12.04

      Description

      In http://hadoop.apache.org/docs/current/hadoop-auth/Examples.html, there is "curl --negotiate -u foo -b ~/cookiejar.txt -c ~/cookiejar.txt http://localhost:8080/hadoop-auth-examples/kerberos/who". A better way is to use "-u :" instead of "-u foo". With the use of the former option, curl will not prompt for a password.

        Attachments

        1. HADOOP-9157.01.patch
          2 kB
          Andras Bokor

          Activity

            People

            • Assignee:
              boky01 Andras Bokor
              Reporter:
              yaojingguo Jingguo Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified