[jira] [Commented] (HBASE-17115) HMaster/HRegion Info Server does not honour admin.acl
[ https://issues.apache.org/jira/browse/HBASE-17115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15672995#comment-15672995 ] Arshad Mohammad commented on HBASE-17115: - Thanks [~apurtell] and [~jinghe] for the response. # Currently service level authorization file is used only for RPC services, not for web services # yarn and history server are using their own admin.acl property for authorizing the web URLs. yarn.admin.acl mapreduce.jobhistory.admin.acl Reference: {code} /hadoop/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JHAdminConfig.java (1 hit) Line 52: public static final String JHS_ADMIN_ACL = MR_HISTORY_PREFIX + "admin.acl"; /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java (1 hit) Line 308: YARN_PREFIX + "admin.acl"; {code} # This jira is only for handling the authorization in web URLs, authentication is already present. I think the web url authorization should be done the same way as being done in yarn and history server. any other thoughts? > HMaster/HRegion Info Server does not honour admin.acl > - > > Key: HBASE-17115 > URL: https://issues.apache.org/jira/browse/HBASE-17115 > Project: HBase > Issue Type: Bug >Reporter: Arshad Mohammad > > Currently there is no way to enable protected URLs like /jmx, /conf only > for admins. This is applicable for both Master and RegionServer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-17115) HMaster/HRegion Info Server does not honour admin.acl
[ https://issues.apache.org/jira/browse/HBASE-17115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15670920#comment-15670920 ] Arshad Mohammad commented on HBASE-17115: - {{org.apache.hadoop.hbase.http.HttpServer}} has instance of {{org.apache.hadoop.security.authorize.AccessControlList}} but this is not set from anywhere. May be we can introduce one new property hbase.admin.acl in hbase {code} /** ACL of who can be admin of HBase web URLs*/ public static final String HBASE_ADMIN_ACL ="hbase.admin.acl"; public static final String DEFAULT_HBASE_ADMIN_ACL = "*"; {code} and initialize AccessControlList and set in InfoServer {code} builder.setACL(new AccessControlList(c.get( HConstants.HBASE_ADMIN_ACL, HConstants.DEFAULT_HBASE_ADMIN_ACL))); {code} > HMaster/HRegion Info Server does not honour admin.acl > - > > Key: HBASE-17115 > URL: https://issues.apache.org/jira/browse/HBASE-17115 > Project: HBase > Issue Type: Bug >Reporter: Arshad Mohammad > > Currently there is no way to enable protected URLs like /jmx, /conf only > for admins. This is applicable for both Master and RegionServer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-17115) HMaster/HRegion Info Server does not honour admin.acl
Arshad Mohammad created HBASE-17115: --- Summary: HMaster/HRegion Info Server does not honour admin.acl Key: HBASE-17115 URL: https://issues.apache.org/jira/browse/HBASE-17115 Project: HBase Issue Type: Bug Reporter: Arshad Mohammad Currently there is no way to enable protected URLs like /jmx, /conf only for admins. This is applicable for both Master and RegionServer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17078) hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does not exist
[ https://issues.apache.org/jira/browse/HBASE-17078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17078: Attachment: (was: HBASE-17079.master.001.patch) > hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does > not exist > - > > Key: HBASE-17078 > URL: https://issues.apache.org/jira/browse/HBASE-17078 > Project: HBase > Issue Type: Bug > Components: build >Reporter: Arshad Mohammad > Fix For: 2.0.0 > > > HBase build with hadoop.profile=3.0 is failing as > hbase-assembly\src\main\assembly\hadoop-three-compat.xml is not present. > {code} > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:18 min > [INFO] Finished at: 2016-11-12T13:17:48+05:30 > [INFO] Final Memory: 230M/1118M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli) on > project hbase-assembly: Error reading assemblies: Error locating assembly > descriptor: src/main/assembly/hadoop-three-compat.xml > [ERROR] > [ERROR] [1] [INFO] Searching for file location: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > [ERROR] > [ERROR] [2] [INFO] File: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > does not exist. > [ERROR] > [ERROR] [3] [INFO] File: > D:\gitHome\hbaseMaster\src\main\assembly\hadoop-three-compat.xml does not > exist. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-assembly > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Issue Comment Deleted] (HBASE-17078) hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does not exist
[ https://issues.apache.org/jira/browse/HBASE-17078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17078: Comment: was deleted (was: Submitting the fix.) > hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does > not exist > - > > Key: HBASE-17078 > URL: https://issues.apache.org/jira/browse/HBASE-17078 > Project: HBase > Issue Type: Bug > Components: build >Reporter: Arshad Mohammad > Fix For: 2.0.0 > > > HBase build with hadoop.profile=3.0 is failing as > hbase-assembly\src\main\assembly\hadoop-three-compat.xml is not present. > {code} > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:18 min > [INFO] Finished at: 2016-11-12T13:17:48+05:30 > [INFO] Final Memory: 230M/1118M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli) on > project hbase-assembly: Error reading assemblies: Error locating assembly > descriptor: src/main/assembly/hadoop-three-compat.xml > [ERROR] > [ERROR] [1] [INFO] Searching for file location: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > [ERROR] > [ERROR] [2] [INFO] File: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > does not exist. > [ERROR] > [ERROR] [3] [INFO] File: > D:\gitHome\hbaseMaster\src\main\assembly\hadoop-three-compat.xml does not > exist. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-assembly > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17079) HBase build fails on windows, hbase-archetype-builder is reason for failure
[ https://issues.apache.org/jira/browse/HBASE-17079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17079: Fix Version/s: 2.0.0 Status: Patch Available (was: Open) > HBase build fails on windows, hbase-archetype-builder is reason for failure > --- > > Key: HBASE-17079 > URL: https://issues.apache.org/jira/browse/HBASE-17079 > Project: HBase > Issue Type: Bug > Components: build > Environment: windows >Reporter: Arshad Mohammad > Fix For: 2.0.0 > > Attachments: HBASE-17079.master.001.patch > > > HBase buid fails on windows, hbase-archetype-builder is reason for failure. > Cygwin is installed so the shell scripts should execute successfully. > Here is build failure log > {code} > [INFO] Apache HBase - Archetype builder ... FAILURE [ 1.014 > s] > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:13 min > [INFO] Finished at: 2016-11-12T18:12:26+05:30 > [INFO] Final Memory: 235M/1012M > [INFO] > > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec > (make-scripts-executable) on project hbase-archetype-builder: Command > execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-archetype-builder > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17079) HBase build fails on windows, hbase-archetype-builder is reason for failure
[ https://issues.apache.org/jira/browse/HBASE-17079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17079: Attachment: HBASE-17079.master.001.patch Submitting the fix > HBase build fails on windows, hbase-archetype-builder is reason for failure > --- > > Key: HBASE-17079 > URL: https://issues.apache.org/jira/browse/HBASE-17079 > Project: HBase > Issue Type: Bug > Components: build > Environment: windows >Reporter: Arshad Mohammad > Fix For: 2.0.0 > > Attachments: HBASE-17079.master.001.patch > > > HBase buid fails on windows, hbase-archetype-builder is reason for failure. > Cygwin is installed so the shell scripts should execute successfully. > Here is build failure log > {code} > [INFO] Apache HBase - Archetype builder ... FAILURE [ 1.014 > s] > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:13 min > [INFO] Finished at: 2016-11-12T18:12:26+05:30 > [INFO] Final Memory: 235M/1012M > [INFO] > > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec > (make-scripts-executable) on project hbase-archetype-builder: Command > execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-archetype-builder > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17078) hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does not exist
[ https://issues.apache.org/jira/browse/HBASE-17078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17078: Status: Open (was: Patch Available) > hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does > not exist > - > > Key: HBASE-17078 > URL: https://issues.apache.org/jira/browse/HBASE-17078 > Project: HBase > Issue Type: Bug > Components: build >Reporter: Arshad Mohammad > Fix For: 2.0.0 > > Attachments: HBASE-17079.master.001.patch > > > HBase build with hadoop.profile=3.0 is failing as > hbase-assembly\src\main\assembly\hadoop-three-compat.xml is not present. > {code} > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:18 min > [INFO] Finished at: 2016-11-12T13:17:48+05:30 > [INFO] Final Memory: 230M/1118M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli) on > project hbase-assembly: Error reading assemblies: Error locating assembly > descriptor: src/main/assembly/hadoop-three-compat.xml > [ERROR] > [ERROR] [1] [INFO] Searching for file location: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > [ERROR] > [ERROR] [2] [INFO] File: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > does not exist. > [ERROR] > [ERROR] [3] [INFO] File: > D:\gitHome\hbaseMaster\src\main\assembly\hadoop-three-compat.xml does not > exist. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-assembly > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17078) hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does not exist
[ https://issues.apache.org/jira/browse/HBASE-17078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17078: Fix Version/s: 2.0.0 Status: Patch Available (was: Open) > hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does > not exist > - > > Key: HBASE-17078 > URL: https://issues.apache.org/jira/browse/HBASE-17078 > Project: HBase > Issue Type: Bug > Components: build >Reporter: Arshad Mohammad > Fix For: 2.0.0 > > Attachments: HBASE-17079.master.001.patch > > > HBase build with hadoop.profile=3.0 is failing as > hbase-assembly\src\main\assembly\hadoop-three-compat.xml is not present. > {code} > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:18 min > [INFO] Finished at: 2016-11-12T13:17:48+05:30 > [INFO] Final Memory: 230M/1118M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli) on > project hbase-assembly: Error reading assemblies: Error locating assembly > descriptor: src/main/assembly/hadoop-three-compat.xml > [ERROR] > [ERROR] [1] [INFO] Searching for file location: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > [ERROR] > [ERROR] [2] [INFO] File: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > does not exist. > [ERROR] > [ERROR] [3] [INFO] File: > D:\gitHome\hbaseMaster\src\main\assembly\hadoop-three-compat.xml does not > exist. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-assembly > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17078) hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does not exist
[ https://issues.apache.org/jira/browse/HBASE-17078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17078: Attachment: HBASE-17079.master.001.patch Submitting the fix. > hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does > not exist > - > > Key: HBASE-17078 > URL: https://issues.apache.org/jira/browse/HBASE-17078 > Project: HBase > Issue Type: Bug > Components: build >Reporter: Arshad Mohammad > Attachments: HBASE-17079.master.001.patch > > > HBase build with hadoop.profile=3.0 is failing as > hbase-assembly\src\main\assembly\hadoop-three-compat.xml is not present. > {code} > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:18 min > [INFO] Finished at: 2016-11-12T13:17:48+05:30 > [INFO] Final Memory: 230M/1118M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli) on > project hbase-assembly: Error reading assemblies: Error locating assembly > descriptor: src/main/assembly/hadoop-three-compat.xml > [ERROR] > [ERROR] [1] [INFO] Searching for file location: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > [ERROR] > [ERROR] [2] [INFO] File: > D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml > does not exist. > [ERROR] > [ERROR] [3] [INFO] File: > D:\gitHome\hbaseMaster\src\main\assembly\hadoop-three-compat.xml does not > exist. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-assembly > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17079) HBase build fails on windows, hbase-archetype-builder is reason for failure
[ https://issues.apache.org/jira/browse/HBASE-17079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated HBASE-17079: Summary: HBase build fails on windows, hbase-archetype-builder is reason for failure (was: HBase buid fails on windows, hbase-archetype-builder is reason for failure) > HBase build fails on windows, hbase-archetype-builder is reason for failure > --- > > Key: HBASE-17079 > URL: https://issues.apache.org/jira/browse/HBASE-17079 > Project: HBase > Issue Type: Bug > Components: build > Environment: windows >Reporter: Arshad Mohammad > > HBase buid fails on windows, hbase-archetype-builder is reason for failure. > Cygwin is installed so the shell scripts should execute successfully. > Here is build failure log > {code} > [INFO] Apache HBase - Archetype builder ... FAILURE [ 1.014 > s] > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 06:13 min > [INFO] Finished at: 2016-11-12T18:12:26+05:30 > [INFO] Final Memory: 235M/1012M > [INFO] > > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec > (make-scripts-executable) on project hbase-archetype-builder: Command > execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hbase-archetype-builder > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-17079) HBase buid fails on windows, hbase-archetype-builder is reason for failure
Arshad Mohammad created HBASE-17079: --- Summary: HBase buid fails on windows, hbase-archetype-builder is reason for failure Key: HBASE-17079 URL: https://issues.apache.org/jira/browse/HBASE-17079 Project: HBase Issue Type: Bug Components: build Environment: windows Reporter: Arshad Mohammad HBase buid fails on windows, hbase-archetype-builder is reason for failure. Cygwin is installed so the shell scripts should execute successfully. Here is build failure log {code} [INFO] Apache HBase - Archetype builder ... FAILURE [ 1.014 s] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 06:13 min [INFO] Finished at: 2016-11-12T18:12:26+05:30 [INFO] Final Memory: 235M/1012M [INFO] [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (make-scripts-executable) on project hbase-archetype-builder: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :hbase-archetype-builder {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-17078) hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does not exist
Arshad Mohammad created HBASE-17078: --- Summary: hadoop.profile=3.0 profile build fails because hadoop-three-compat.xml does not exist Key: HBASE-17078 URL: https://issues.apache.org/jira/browse/HBASE-17078 Project: HBase Issue Type: Bug Components: build Reporter: Arshad Mohammad HBase build with hadoop.profile=3.0 is failing as hbase-assembly\src\main\assembly\hadoop-three-compat.xml is not present. {code} [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 06:18 min [INFO] Finished at: 2016-11-12T13:17:48+05:30 [INFO] Final Memory: 230M/1118M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli) on project hbase-assembly: Error reading assemblies: Error locating assembly descriptor: src/main/assembly/hadoop-three-compat.xml [ERROR] [ERROR] [1] [INFO] Searching for file location: D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml [ERROR] [ERROR] [2] [INFO] File: D:\gitHome\hbaseMaster\hbase-assembly\src\main\assembly\hadoop-three-compat.xml does not exist. [ERROR] [ERROR] [3] [INFO] File: D:\gitHome\hbaseMaster\src\main\assembly\hadoop-three-compat.xml does not exist. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :hbase-assembly {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-16622) Fix some issues with the HBase reference guide
[ https://issues.apache.org/jira/browse/HBASE-16622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15501385#comment-15501385 ] Arshad Mohammad commented on HBASE-16622: - There is one more problem in addition to what is mentioned in this jira description. There are two package statements {code} package com.example.hbase.admin; package util; {code} Presence of two package statements is causing compilation error. One should be removed. > Fix some issues with the HBase reference guide > -- > > Key: HBASE-16622 > URL: https://issues.apache.org/jira/browse/HBASE-16622 > Project: HBase > Issue Type: Bug > Components: documentation >Reporter: alexxiyang >Assignee: alexxiyang > Attachments: HBASE-16622-v0.diff, HBASE-16622-v1.diff > > > 1. > {code} > if (admin.tableExists(tableName)) { > System.out.println("Table does not exist."); > System.exit(-1); > } > {code} > This should be > {code} > if (!admin.tableExists(tableName)) { > {code} > 2. > SNAPPY is not suitable for begginer. They may get exceptions like > {code} > Caused by: > org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.DoNotRetryIOException): > org.apache.hadoop.hbase.DoNotRetryIOException: Compression algorithm > 'snappy' previously failed test. Set hbase.table.sanity.checks to false at > conf or table descriptor if you want to bypass sanity checks > at > org.apache.hadoop.hbase.master.HMaster.warnOrThrowExceptionForFailure(HMaster.java:1701) > at > org.apache.hadoop.hbase.master.HMaster.sanityCheckTableDescriptor(HMaster.java:1569) > at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1491) > at > org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:462) > at > org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:55682) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2178) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112) > at > org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133) > at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108) > at java.lang.Thread.run(Thread.java:745) > {code} > So the code below > {code} > table.addFamily(new > HColumnDescriptor(CF_DEFAULT).setCompressionType(Algorithm.SNAPPY)); > {code} > it better to change into > {code} > table.addFamily(new > HColumnDescriptor(CF_DEFAULT).setCompressionType(Algorithm.NONE)); > {code} > 3. > Before modify column family , get the table from connection > Change > {code} > HTableDescriptor table = new HTableDescriptor(tableName); > {code} > into > {code} > Table table = connection.getTable(TableName.valueOf(tablename)); > {code} > 4. > In 143.1.1. Code Formatting > it just said > {code} > Still in Preferences, click . Be sure the following options are > selected:Apache HBase ™ Reference Guide > {code} > But nothing after click. It should be Java->Editor->Save Actions -- This message was sent by Atlassian JIRA (v6.3.4#6332)