hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-14054) NativeAzureFileSystem has multiple synchronized BufferedStream:read() calls in it
Date Fri, 03 Feb 2017 09:22:51 GMT
Gopal V created HADOOP-14054:
--------------------------------

             Summary: NativeAzureFileSystem has multiple synchronized BufferedStream:read()
calls in it
                 Key: HADOOP-14054
                 URL: https://issues.apache.org/jira/browse/HADOOP-14054
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs/azure
            Reporter: Gopal V


See the lock around the multiple buffered input streams with the read1

java.io.BufferedInputStream.read() calls are all synchronized blocks.

{code}
IO-Elevator-Thread-9" #288 daemon prio=5 os_prio=0 tid=0x00007fbf9c0aa000 nid=0xa07d runnable
[0x00007faf3b4b4000]
   java.lang.Thread.State: RUNNABLE
sun.security.provider.DigestBase.implCompressMultiBlock(DigestBase.java:140)
        at sun.security.provider.DigestBase.engineUpdate(DigestBase.java:127)
        at java.security.MessageDigest$Delegate.engineUpdate(MessageDigest.java:584)
        at java.security.MessageDigest.update(MessageDigest.java:325)
        at com.microsoft.azure.storage.core.Utility.writeToOutputStream(Utility.java:1329)
        at com.microsoft.azure.storage.blob.CloudBlob$9.postProcessResponse(CloudBlob.java:1410)
        at com.microsoft.azure.storage.blob.CloudBlob$9.postProcessResponse(CloudBlob.java:1310)
        at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:146)
        at com.microsoft.azure.storage.blob.CloudBlob.downloadRangeInternal(CloudBlob.java:1499)
        at com.microsoft.azure.storage.blob.BlobInputStream.dispatchRead(BlobInputStream.java:255)
        - eliminated <0x00007fbdd5475b68> (a com.microsoft.azure.storage.blob.BlobInputStream)
        at com.microsoft.azure.storage.blob.BlobInputStream.readInternal(BlobInputStream.java:448)
        - locked <0x00007fbdd5475b68> (a com.microsoft.azure.storage.blob.BlobInputStream)
        at com.microsoft.azure.storage.blob.BlobInputStream.read(BlobInputStream.java:420)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        - locked <0x00007fbdd5475b38> (a java.io.BufferedInputStream)
        at java.io.DataInputStream.read(DataInputStream.java:149)
        at org.apache.hadoop.fs.azure.NativeAzureFileSystem$NativeAzureFsInputStream.read(NativeAzureFileSystem.java:820)
        - locked <0x00007fbdd5475ac0> (a org.apache.hadoop.fs.azure.NativeAzureFileSystem$NativeAzureFsInputStream)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        - locked <0x00007fbdd5475a90> (a org.apache.hadoop.fs.BufferedFSInputStream)
        at java.io.DataInputStream.read(DataInputStream.java:149)
        at org.apache.hadoop.mapreduce.lib.input.UncompressedSplitLineReader.fillBuffer(UncompressedSplitLineReader.java:62)
        at org.apache.hadoop.util.LineReader.readDefaultLine(LineReader.java:216)
        at org.apache.hadoop.util.LineReader.readLine(LineReader.java:174)
        at org.apache.hadoop.mapreduce.lib.input.UncompressedSplitLineReader.readLine(UncompressedSplitLineReader.java:94)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


Mime
View raw message