[ https://issues.apache.org/jira/browse/HBASE-18842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180951#comment-16180951 ]
Thoralf Gutierrez edited comment on HBASE-18842 at 9/26/17 4:43 PM: -------------------------------------------------------------------- I've fixed the trivial class documentation but can't seem to understand what is going on with ruby-lint not being able to find definitions from the included `Hbase::TestHelpers`, though the tests run fine. I have looked into [configuring ruby-lint|https://github.com/YorickPeterse/ruby-lint/blob/master/doc/configuration.md] locally with no luck. I would love some guidance if someone is a bit more knowledgeable on the shell project structure. FYI: My local ruby-lint is giving a lot of the same false negatives for other files like `src/test/ruby/hbase/admin_test.rb` which uses the same test helper. So maybe fixing that particular issue is just out of scope for this patch. was (Author: thorgutierrez): I've fixed the trivial class documentation but can't seem to understand what is going on with ruby-lint not being able to find definitions from the included `Hbase::TestHelpers`, though the tests run fine. I have looked into [configuring ruby-lint|https://github.com/YorickPeterse/ruby-lint/blob/master/doc/configuration.md] locally with no luck. I would love some guidance if someone is a bit more knowledgeable on the shell project structure. > The hbase shell clone_snaphost command returns bad error message > ---------------------------------------------------------------- > > Key: HBASE-18842 > URL: https://issues.apache.org/jira/browse/HBASE-18842 > Project: HBase > Issue Type: Bug > Reporter: Thoralf Gutierrez > Assignee: Jesse Yates > Priority: Minor > Attachments: > 0001-HBASE-18842-Fix-unknown-namespace-message-in-clone_s.patch, > 0002-HBASE-18842-Fix-unknown-namespace-message-in-clone_s.patch, > 0003-HBASE-18842-Fix-unknown-namespace-message-in-clone_s.patch, > 0004-HBASE-18842-Fix-unknown-namespace-message-in-clone_s.patch > > > When you call the hbase shell clone_snapshot command with a target namespace > that doesn't exist, you get an error message, but the variable used to > identify the inexistent namespace is wrong: > {noformat} > hbase(main):001:0> clone_snapshot 'someSnapshotName', > 'someNamespaceName:someTableName' > ERROR: Unknown namespace someSnapshotName! > Create a new table by cloning the snapshot content. > There're no copies of data involved. > And writing on the newly created table will not influence the snapshot data. > Examples: > hbase> clone_snapshot 'snapshotName', 'tableName' > hbase> clone_snapshot 'snapshotName', 'namespace:tableName' > {noformat} > It should rather say: > {noformat} > ERROR: Unknown namespace someNamespaceName! > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)