[jira] [Updated] (HBASE-11896) LoadIncrementalHFiles fails in secure mode if the namespace is specified
[ https://issues.apache.org/jira/browse/HBASE-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11896: --- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) LoadIncrementalHFiles fails in secure mode if the namespace is specified Key: HBASE-11896 URL: https://issues.apache.org/jira/browse/HBASE-11896 Project: HBase Issue Type: Bug Affects Versions: 0.98.3 Reporter: Ashish Singhi Fix For: 0.99.0, 2.0.0, 0.98.7 Attachments: 11896-v1.txt, 11896-v2.txt, 11896-v2.txt, HBASE-11896.patch completebulkload tool is failing in secure mode when namespace is specified. {noformat} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs__ns:a1__eb0l9esfa6ta4msuul40vk1kgts2hn0goo953geplsnjv1qbeq1a4sacvp07qcn6 at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.init(Path.java:172) at org.apache.hadoop.fs.Path.init(Path.java:94) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:303) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:296) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.prepareBulkLoad(SecureBulkLoadEndpoint.java:160) at org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos$SecureBulkLoadService.callMethod(SecureBulkLoadProtos.java:4626) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5696) at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3332) at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3314) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501) {noformat} Here I feel we should replace the ':' in table name {code} bulkToken = new SecureBulkLoadClient(table).prepareBulkLoad(table.getName()) {code} Because at the later part of code we are creating staging directory using table name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11896) LoadIncrementalHFiles fails in secure mode if the namespace is specified
[ https://issues.apache.org/jira/browse/HBASE-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11896: --- Attachment: 11896-v2.txt LoadIncrementalHFiles fails in secure mode if the namespace is specified Key: HBASE-11896 URL: https://issues.apache.org/jira/browse/HBASE-11896 Project: HBase Issue Type: Bug Affects Versions: 0.98.3 Reporter: Ashish Singhi Fix For: 0.99.0, 2.0.0, 0.98.7 Attachments: 11896-v1.txt, 11896-v2.txt, HBASE-11896.patch completebulkload tool is failing in secure mode when namespace is specified. {noformat} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs__ns:a1__eb0l9esfa6ta4msuul40vk1kgts2hn0goo953geplsnjv1qbeq1a4sacvp07qcn6 at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.init(Path.java:172) at org.apache.hadoop.fs.Path.init(Path.java:94) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:303) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:296) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.prepareBulkLoad(SecureBulkLoadEndpoint.java:160) at org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos$SecureBulkLoadService.callMethod(SecureBulkLoadProtos.java:4626) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5696) at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3332) at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3314) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501) {noformat} Here I feel we should replace the ':' in table name {code} bulkToken = new SecureBulkLoadClient(table).prepareBulkLoad(table.getName()) {code} Because at the later part of code we are creating staging directory using table name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11896) LoadIncrementalHFiles fails in secure mode if the namespace is specified
[ https://issues.apache.org/jira/browse/HBASE-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11896: --- Attachment: 11896-v2.txt LoadIncrementalHFiles fails in secure mode if the namespace is specified Key: HBASE-11896 URL: https://issues.apache.org/jira/browse/HBASE-11896 Project: HBase Issue Type: Bug Affects Versions: 0.98.3 Reporter: Ashish Singhi Fix For: 0.99.0, 2.0.0, 0.98.7 Attachments: 11896-v1.txt, 11896-v2.txt, 11896-v2.txt, HBASE-11896.patch completebulkload tool is failing in secure mode when namespace is specified. {noformat} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs__ns:a1__eb0l9esfa6ta4msuul40vk1kgts2hn0goo953geplsnjv1qbeq1a4sacvp07qcn6 at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.init(Path.java:172) at org.apache.hadoop.fs.Path.init(Path.java:94) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:303) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:296) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.prepareBulkLoad(SecureBulkLoadEndpoint.java:160) at org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos$SecureBulkLoadService.callMethod(SecureBulkLoadProtos.java:4626) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5696) at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3332) at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3314) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501) {noformat} Here I feel we should replace the ':' in table name {code} bulkToken = new SecureBulkLoadClient(table).prepareBulkLoad(table.getName()) {code} Because at the later part of code we are creating staging directory using table name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11896) LoadIncrementalHFiles fails in secure mode if the namespace is specified
[ https://issues.apache.org/jira/browse/HBASE-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singhi updated HBASE-11896: -- Attachment: HBASE-11896.patch Attaching a simple patch. The patch will replace all ':' with empty string if any exists in the path. LoadIncrementalHFiles fails in secure mode if the namespace is specified Key: HBASE-11896 URL: https://issues.apache.org/jira/browse/HBASE-11896 Project: HBase Issue Type: Bug Affects Versions: 0.98.3 Reporter: Ashish Singhi Fix For: 1.0.0, 2.0.0 Attachments: HBASE-11896.patch completebulkload tool is failing in secure mode when namespace is specified. {noformat} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs__ns:a1__eb0l9esfa6ta4msuul40vk1kgts2hn0goo953geplsnjv1qbeq1a4sacvp07qcn6 at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.init(Path.java:172) at org.apache.hadoop.fs.Path.init(Path.java:94) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:303) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:296) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.prepareBulkLoad(SecureBulkLoadEndpoint.java:160) at org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos$SecureBulkLoadService.callMethod(SecureBulkLoadProtos.java:4626) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5696) at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3332) at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3314) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501) {noformat} Here I feel we should replace the ':' in table name {code} bulkToken = new SecureBulkLoadClient(table).prepareBulkLoad(table.getName()) {code} Because at the later part of code we are creating staging directory using table name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11896) LoadIncrementalHFiles fails in secure mode if the namespace is specified
[ https://issues.apache.org/jira/browse/HBASE-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11896: --- Status: Patch Available (was: Open) LoadIncrementalHFiles fails in secure mode if the namespace is specified Key: HBASE-11896 URL: https://issues.apache.org/jira/browse/HBASE-11896 Project: HBase Issue Type: Bug Affects Versions: 0.98.3 Reporter: Ashish Singhi Fix For: 1.0.0, 2.0.0 Attachments: 11896-v1.txt, HBASE-11896.patch completebulkload tool is failing in secure mode when namespace is specified. {noformat} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs__ns:a1__eb0l9esfa6ta4msuul40vk1kgts2hn0goo953geplsnjv1qbeq1a4sacvp07qcn6 at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.init(Path.java:172) at org.apache.hadoop.fs.Path.init(Path.java:94) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:303) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:296) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.prepareBulkLoad(SecureBulkLoadEndpoint.java:160) at org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos$SecureBulkLoadService.callMethod(SecureBulkLoadProtos.java:4626) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5696) at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3332) at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3314) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501) {noformat} Here I feel we should replace the ':' in table name {code} bulkToken = new SecureBulkLoadClient(table).prepareBulkLoad(table.getName()) {code} Because at the later part of code we are creating staging directory using table name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11896) LoadIncrementalHFiles fails in secure mode if the namespace is specified
[ https://issues.apache.org/jira/browse/HBASE-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11896: --- Attachment: 11896-v1.txt Patch v1 replaces : in tablename with underscore. LoadIncrementalHFiles fails in secure mode if the namespace is specified Key: HBASE-11896 URL: https://issues.apache.org/jira/browse/HBASE-11896 Project: HBase Issue Type: Bug Affects Versions: 0.98.3 Reporter: Ashish Singhi Fix For: 1.0.0, 2.0.0 Attachments: 11896-v1.txt, HBASE-11896.patch completebulkload tool is failing in secure mode when namespace is specified. {noformat} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs__ns:a1__eb0l9esfa6ta4msuul40vk1kgts2hn0goo953geplsnjv1qbeq1a4sacvp07qcn6 at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.init(Path.java:172) at org.apache.hadoop.fs.Path.init(Path.java:94) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:303) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:296) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.prepareBulkLoad(SecureBulkLoadEndpoint.java:160) at org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos$SecureBulkLoadService.callMethod(SecureBulkLoadProtos.java:4626) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5696) at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3332) at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3314) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501) {noformat} Here I feel we should replace the ':' in table name {code} bulkToken = new SecureBulkLoadClient(table).prepareBulkLoad(table.getName()) {code} Because at the later part of code we are creating staging directory using table name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11896) LoadIncrementalHFiles fails in secure mode if the namespace is specified
[ https://issues.apache.org/jira/browse/HBASE-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-11896: --- Fix Version/s: (was: 1.0.0) 0.98.7 0.99.0 LoadIncrementalHFiles fails in secure mode if the namespace is specified Key: HBASE-11896 URL: https://issues.apache.org/jira/browse/HBASE-11896 Project: HBase Issue Type: Bug Affects Versions: 0.98.3 Reporter: Ashish Singhi Fix For: 0.99.0, 2.0.0, 0.98.7 Attachments: 11896-v1.txt, HBASE-11896.patch completebulkload tool is failing in secure mode when namespace is specified. {noformat} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs__ns:a1__eb0l9esfa6ta4msuul40vk1kgts2hn0goo953geplsnjv1qbeq1a4sacvp07qcn6 at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.init(Path.java:172) at org.apache.hadoop.fs.Path.init(Path.java:94) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:303) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.createStagingDir(SecureBulkLoadEndpoint.java:296) at org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.prepareBulkLoad(SecureBulkLoadEndpoint.java:160) at org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos$SecureBulkLoadService.callMethod(SecureBulkLoadProtos.java:4626) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5696) at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3332) at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3314) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501) {noformat} Here I feel we should replace the ':' in table name {code} bulkToken = new SecureBulkLoadClient(table).prepareBulkLoad(table.getName()) {code} Because at the later part of code we are creating staging directory using table name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)