Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.205.0
    • 0.23.0, 1.0.0
    • webhdfs
    • None
    • Reviewed

    Description

      curl -L -u : --negotiate -i "http://NN:50070/webhdfs/v1/tmp/webhdfs_data/file_small_data.txt?op=OPEN"

      the following exception is thrown by the datanode when the redirect happens.
      {"RemoteException":{"exception":"IOException","javaClassName":"java.io.IOException","message":"Call to failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]"}}

      Interestingly when using ./bin/hadoop with a webhdfs path we are able to cat or tail a file successfully.

      Attachments

        1. h2528_20111103_0.20s.patch
          16 kB
          Tsz-wo Sze
        2. h2528_20111103.patch
          17 kB
          Tsz-wo Sze
        3. h2528_20111103_0.20s.patch
          15 kB
          Tsz-wo Sze
        4. h2528_20111102.patch
          4 kB
          Tsz-wo Sze
        5. h2528_20111102_0.20s.patch
          4 kB
          Tsz-wo Sze
        6. h2528_20111101b.patch
          2 kB
          Tsz-wo Sze
        7. h2528_20111101b_0.20s.patch
          3 kB
          Tsz-wo Sze
        8. h2528_20111101.patch
          2 kB
          Tsz-wo Sze
        9. h2528_20111101_0.20s.patch
          2 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            arpitgupta Arpit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: