[ 
https://issues.apache.org/jira/browse/HBASE-27545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhang Dongsheng updated HBASE-27545:
------------------------------------
    Description: 
In the start function of SecureBulkLoadManager, there is the following code 
segment
{code:java}
  public void start() throws IOException {

    fs = FileSystem.get(conf);
    baseStagingDir = new Path(CommonFSUtils.getRootDir(conf), 
HConstants.BULKLOAD_STAGING_DIR_NAME);

    if (conf.get("hbase.bulkload.staging.dir") != null) {
      LOG.warn("hbase.bulkload.staging.dir " + " is deprecated. Bulkload 
staging directory is "
        + baseStagingDir);
    }
    if (!fs.exists(baseStagingDir)) {
      fs.mkdirs(baseStagingDir, PERM_HIDDEN);
    }
  }
{code}

> Ensure that the baseStagingDir created by SecureBulkLoadManager has the 
> correct permissions
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-27545
>                 URL: https://issues.apache.org/jira/browse/HBASE-27545
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Zhang Dongsheng
>            Priority: Minor
>
> In the start function of SecureBulkLoadManager, there is the following code 
> segment
> {code:java}
>   public void start() throws IOException {
>     fs = FileSystem.get(conf);
>     baseStagingDir = new Path(CommonFSUtils.getRootDir(conf), 
> HConstants.BULKLOAD_STAGING_DIR_NAME);
>     if (conf.get("hbase.bulkload.staging.dir") != null) {
>       LOG.warn("hbase.bulkload.staging.dir " + " is deprecated. Bulkload 
> staging directory is "
>         + baseStagingDir);
>     }
>     if (!fs.exists(baseStagingDir)) {
>       fs.mkdirs(baseStagingDir, PERM_HIDDEN);
>     }
>   }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to