[ https://issues.apache.org/jira/browse/HBASE-18529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118005#comment-16118005 ]
Yun Zhao commented on HBASE-18529: ---------------------------------- [~gsbiju] - We can isolate multiple RSes by different hbase.local.dir. Do you mean by default is different, such as using hbase.local.dir + ServerName? I think it will add too much dir. > 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 > Components: Coprocessors > Reporter: Yun Zhao > Assignee: Yun Zhao > Attachments: HBASE-18529.master.001.patch, > HBASE-18529.master.002.patch > > > 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)