Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22939

SpaceQuotas- Bulkload from different hdfs failed when space quotas are turned on.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 2.6.0, 2.5.1, 3.0.0-alpha-4, 2.4.15
    • None
    • None
    • Reviewed

    Description

      
      Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(java.io.IOException): java.io.IOException: Wrong FS: hdfs://172.16.159.148:8020/tmp/bkldOutPut/fm1/327d2de5db4d4f0da667bfdf77105d4d, expected: hdfs://snake
      	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:433)
      	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:132)
      	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:338)
      	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:318)
      Caused by: java.lang.IllegalArgumentException: Wrong FS: hdfs://172.16.159.148:8020/tmp/bkldOutPut/fm1/327d2de5db4d4f0da667bfdf77105d4d, expected: hdfs://snake
      	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:665)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:214)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$27.doCall(DistributedFileSystem.java:1440)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$27.doCall(DistributedFileSystem.java:1437)
      	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1437)
      	at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:442)
      	at org.apache.hadoop.hbase.quotas.policies.AbstractViolationPolicyEnforcement.getFileSize(AbstractViolationPolicyEnforcement.java:95)
      	at org.apache.hadoop.hbase.quotas.policies.MissingSnapshotViolationPolicyEnforcement.computeBulkLoadSize(MissingSnapshotViolationPolicyEnforcement.java:53)
      	at org.apache.hadoop.hbase.regionserver.RSRpcServices.bulkLoadHFile(RSRpcServices.java:2407)
      	at org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:42004)
      	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:374)
      	... 3 more
      

      Attachments

        1. HBASE-22939-v0.patch
          2 kB
          YR
        2. HBASE-22939-v1.patch
          8 kB
          YR
        3. HBASE-22939-v2.patch
          8 kB
          YR
        4. HBASE-22939_branch-2.patch
          7 kB
          YR
        5. HBASE-22939_branch-2.x.patch
          7 kB
          YR

        Activity

          People

            yiran YR
            yiran YR
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: