You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/12/12 17:35:00 UTC

[jira] [Commented] (HBASE-19434) create_namespace command for existing namespace does not throw useful error message

    [ https://issues.apache.org/jira/browse/HBASE-19434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287954#comment-16287954 ] 

Hadoop QA commented on HBASE-19434:
-----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 10s{color} | {color:blue} Docker mode activated. {color} |
| {color:blue}0{color} | {color:blue} patch {color} | {color:blue}  0m  1s{color} | {color:blue} The patch file was not named according to hbase's naming conventions. Please see https://yetus.apache.org/documentation/0.6.0/precommit-patchnames for instructions. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  0s{color} | {color:blue} Findbugs executables are not available. {color} |
| {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green}  0m  0s{color} | {color:green} Patch does not have any anti-patterns. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  0s{color} | {color:red} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  5m 31s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 21s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 29s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  5m 20s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 25s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  5m 10s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 24s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 24s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 30s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  4m 35s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 52m 49s{color} | {color:green} Patch does not cause any errors with Hadoop 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3 2.7.4 or 3.0.0-alpha4. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 20s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  2m 43s{color} | {color:green} hbase-client in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m  9s{color} | {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 74m  4s{color} | {color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:eee3b01 |
| JIRA Issue | HBASE-19434 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12901710/19434.v1.txt |
| Optional Tests |  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile  |
| uname | Linux 58ab7564d5ba 3.13.0-133-generic #182-Ubuntu SMP Tue Sep 19 15:49:21 UTC 2017 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh |
| git revision | master / 11467ef111 |
| maven | version: Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) |
| Default Java | 1.8.0_151 |
|  Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/10385/testReport/ |
| modules | C: hbase-client U: hbase-client |
| Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/10385/console |
| Powered by | Apache Yetus 0.6.0   http://yetus.apache.org |


This message was automatically generated.



> create_namespace command for existing namespace does not throw useful error message
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-19434
>                 URL: https://issues.apache.org/jira/browse/HBASE-19434
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Romil Choksi
>            Priority: Minor
>         Attachments: 19434.v1.txt
>
>
> create_namespace command for existing namespace does not throw an useful error message
> Here we try to call create_namespace command twice for same namespace, and attempt to verify an error message
> from test console log
> {code}
> 2017-11-13 08:19:03,347|INFO|MainThread|hbase.py:191 - runShellCmds()|Writing commands to file /hwqe/hadoopqe/artifacts/tmp-844452
> 2017-11-13 08:19:03,348|INFO|MainThread|hbase.py:194 - runShellCmds()| 'create_namespace 'testnamespace''
> 2017-11-13 08:19:03,348|INFO|MainThread|hbase.py:194 - runShellCmds()| 'create_namespace 'testnamespace''
> 2017-11-13 08:19:03,348|INFO|MainThread|hbase.py:194 - runShellCmds()| 'drop_namespace 'testnamespace''
> 2017-11-13 08:19:03,348|INFO|MainThread|hbase.py:198 - runShellCmds()|Done writing commands to file. Will execute them now.
> 2017-11-13 08:19:03,348|INFO|MainThread|machine.py:145 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|RUNNING: /usr/hdp/current/hbase-client/bin/hbase shell /hwqe/hadoopqe/artifacts/tmp-844452
> 2017-11-13 08:19:11,593|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|2017-11-13 08:19:11,592 INFO  [main] beanutils.FluentPropertyBeanIntrospector: Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
> 2017-11-13 08:19:11,628|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|2017-11-13 08:19:11,628 INFO  [main] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties
> 2017-11-13 08:19:11,700|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|2017-11-13 08:19:11,700 INFO  [main] impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s).
> 2017-11-13 08:19:11,700|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|2017-11-13 08:19:11,700 INFO  [main] impl.MetricsSystemImpl: HBase metrics system started
> 2017-11-13 08:19:12,655|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|Took 0.6500 seconds
> 2017-11-13 08:19:12,784|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|
> 2017-11-13 08:19:12,784|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|ERROR: testnamespace
> 2017-11-13 08:19:12,784|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|
> 2017-11-13 08:19:12,784|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|Create namespace; pass namespace name,
> 2017-11-13 08:19:12,785|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|and optionally a dictionary of namespace configuration.
> 2017-11-13 08:19:12,785|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|Examples:
> 2017-11-13 08:19:12,785|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|
> 2017-11-13 08:19:12,785|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|hbase> create_namespace 'ns1'
> 2017-11-13 08:19:12,785|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|hbase> create_namespace 'ns1', {'PROPERTY_NAME'=>'PROPERTY_VALUE'}
> 2017-11-13 08:19:12,785|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|
> 2017-11-13 08:19:12,785|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|Took 0.1284 seconds
> 2017-11-13 08:19:13,016|INFO|MainThread|machine.py:159 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|Took 0.2307 seconds
> 2017-11-13 08:19:13,541|INFO|MainThread|machine.py:184 - run()||GUID=29350822-e327-4a0d-97ec-fc8b0a7d1be2|Exit Code: 0
> 2017-11-13 08:19:13,575|INFO|MainThread|conftest.py:241 - pytest_report_teststatus()|TEST "test_ShellCreateNameSpace[CreateExistentNamespace]" FAILED in 10.22 seconds
> {code}



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