Details

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

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

        Activity

        Eli Collins made changes -
        Component/s webhdfs [ 12319200 ]
        Arun C Murthy made changes -
        Fix Version/s 0.23.0 [ 12315571 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Fix Version/s 0.23.1 [ 12318885 ]
        Eli Collins made changes -
        Fix Version/s 0.23.0 [ 12315571 ]
        Fix Version/s 1.1.0 [ 12317959 ]
        Target Version/s 1.0.0 [ 12318243 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Tsz Wo Nicholas Sze made changes -
        Fix Version/s 0.23.0 [ 12315571 ]
        Tsz Wo Nicholas Sze made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Tsz Wo Nicholas Sze made changes -
        Resolution Incomplete [ 4 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.20.205.1 [ 12318243 ]
        Fix Version/s 0.20.206.0 [ 12317959 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Fix Version/s 0.23.1 [ 12318885 ]
        Resolution Incomplete [ 4 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2528_20111103_0.20s.patch [ 12502525 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2528_20111103_0.20s.patch [ 12502269 ]
        Attachment h2528_20111103.patch [ 12502270 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2528_20111102_0.20s.patch [ 12501988 ]
        Attachment h2528_20111102.patch [ 12501989 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2528_20111101b_0.20s.patch [ 12501898 ]
        Attachment h2528_20111101b.patch [ 12501899 ]
        Tsz Wo Nicholas Sze made changes -
        Parent HDFS-2316 [ 12521565 ]
        Issue Type Bug [ 1 ] Sub-task [ 7 ]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2528_20111101_0.20s.patch [ 12501893 ]
        Attachment h2528_20111101.patch [ 12501894 ]
        Arpit Gupta made changes -
        Field Original Value New Value
        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 hrt12n23.cc1.ygridcore.net/98.137.234.231:8020 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.
        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.
        Arpit Gupta created issue -

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Arpit Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development