hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yun Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18529) Do not delete the tmp jars dir when load the coprocessor jar
Date Mon, 07 Aug 2017 11:17:00 GMT
Yun Zhao created HBASE-18529:
--------------------------------

             Summary: Do not delete the tmp jars dir when load the coprocessor jar
                 Key: HBASE-18529
                 URL: https://issues.apache.org/jira/browse/HBASE-18529
             Project: HBase
          Issue Type: Bug
            Reporter: Yun Zhao


When multi regionserver is deployed on a single server, used default hbase.local.dir . The
tmp jars dir will deleted when one of them is restarted.
Also when multi regionserver start at the same time, the jar in the copyToLocalFile process
may be deleted, causing the coprocessor load failed.

{code}
2017-08-06 20:02:15,326 ERROR [RS_OPEN_REGION-xxxx-2] regionserver.RegionCoprocessorHost:
Failed to load coprocessor xxxx
ENOENT: No such file or directory
        at org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmodImpl(Native Method)
        at org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmod(NativeIO.java:226)
        at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:629)
        at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:467)
        at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:456)
        at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:424)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:906)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:887)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:784)
        at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:365)
        at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
        at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:289)
        at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1968)
        at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1937)
        at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1913)
        at org.apache.hadoop.hbase.util.CoprocessorClassLoader.init(CoprocessorClassLoader.java:168)
        at org.apache.hadoop.hbase.util.CoprocessorClassLoader.getClassLoader(CoprocessorClassLoader.java:250)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message