Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4406

read file failure,when the file is not close in secret mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Critical
    • Resolution: Unresolved
    • 2.0.2-alpha, 3.0.0-alpha1
    • None
    • namenode

    Description

      2013-01-14 18:27:06,216 WARN SecurityLogger.org.apache.hadoop.ipc.Server: Auth failed for 160.172.0.11:45176:null
      2013-01-14 18:27:06,217 INFO org.apache.hadoop.ipc.Server: IPC Server listener on 50020: readAndProcess threw exception javax.security.sasl.SaslException: DIGEST-MD5: IO error acquiring password [Caused by org.apache.hadoop.security.token.SecretManager$InvalidToken: Can't re-compute password for block_token_identifier (expiryDate=1358195226206, keyId=1639335405, userId=hbase, blockPoolId=BP-myhacluster-25656, blockId=-6489888518203477527, access modes=[READ]), since the required block key (keyID=1639335405) doesn't exist.] from client 160.172.0.11. Count of bytes read: 0
      javax.security.sasl.SaslException: DIGEST-MD5: IO error acquiring password [Caused by org.apache.hadoop.security.token.SecretManager$InvalidToken: Can't re-compute password for block_token_identifier (expiryDate=1358195226206, keyId=1639335405, userId=hbase, blockPoolId=BP-myhacluster-25656, blockId=-6489888518203477527, access modes=[READ]), since the required block key (keyID=1639335405) doesn't exist.]
      at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:577)
      at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:226)
      at org.apache.hadoop.ipc.Server$Connection.saslReadAndProcess(Server.java:1199)
      at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1393)
      at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:710)
      at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:509)
      at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:484)

      Attachments

        1. HDFS-4404.patch
          2 kB
          liaowenrui
        2. BlockTokenSecretManager.patch
          0.8 kB
          liaowenrui

        Activity

          People

            Unassigned Unassigned
            ewenpower liaowenrui
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated: