You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/08/11 23:08:56 UTC

[GitHub] [hbase] ndimiduk commented on pull request #2232: HBASE-24806 Small Updates to Functionality of Shell IRB Workspace

ndimiduk commented on pull request #2232:
URL: https://github.com/apache/hbase/pull/2232#issuecomment-672343963


   @bitoffdev do you know how to find the test log files? I'm looking at PR-2232/1/artifact/yetus-jdk11-hadoop3-check/output, there's a file called test_logs.zip in the Jenkins build archive. In that archive, I find the `TEST-...TestClass.xml` file for the failed test and look for more info. For example, in `TEST...-TestAdminShell.xml`, I find
   
   ```
   ===============================================================================
   Error: test_alter_should_be_able_to_change_coprocessor_attributes(Hbase::AdminAlterTableTest): NoMethodError: undefined method `setCoprocessorWithSpec' for #<Java::OrgApacheHadoopHbaseClient::TableDescriptorBuilder::ModifyableTableDescriptor:0xb6bc6ac>
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/hbase/admin.rb:781:in `block in alter'
   org/jruby/RubyHash.java:1350:in `each'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/hbase/admin.rb:771:in `block in alter'
   org/jruby/RubyArray.java:1735:in `each'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/hbase/admin.rb:687:in `alter'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/shell/commands/alter.rb:103:in `command'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/shell/commands.rb:49:in `block in command_safe'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/shell/commands.rb:122:in `translate_hbase_exceptions'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/shell/commands.rb:49:in `command_safe'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/shell.rb:199:in `internal_command'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/main/ruby/shell.rb:191:in `command'
   /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2232/yetus-jdk11-hadoop3-check/src/hbase-shell/src/test/ruby/test_helper.rb:55:in `command'
   src/test/ruby/hbase/admin_test.rb:958:in `block in test_alter_should_be_able_to_change_coprocessor_attributes'
        955:       # eval() is used to convert a string to regex
        956:       assert_no_match(eval("/" + class_name + "/"), admin.describe(@test_name))
        957:       assert_no_match(eval("/" + cp_key + "/"), admin.describe(@test_name))
     => 958:       command(:alter, @test_name, 'METHOD' => 'table_att', cp_key => cp_value)
        959:       assert_match(eval("/" + class_name + "/"), admin.describe(@test_name))
        960:       assert_match(eval("/" + cp_key + "\\$(\\d+)/"), admin.describe(@test_name))
        961:     end
   ===============================================================================
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org