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

Better option for curl in hadoop-auth-examples

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.0, 3.2.1, 3.1.3
    • documentation
    • None
    • 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

            boky01 Andras Bokor
            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