You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2018/09/06 04:26:00 UTC

[jira] [Commented] (HBASE-18956) ruby-lint need to be configured to understand that we're using jruby

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

Sean Busbey commented on HBASE-18956:
-------------------------------------

this is because our ruby-lint configs don't tell it that we're using jruby so it doesn't understand any of the jruby-specific stuff.

let me see if I can find a pointer on how to do this.

> ruby-lint need to be configured to understand that we're using jruby
> --------------------------------------------------------------------
>
>                 Key: HBASE-18956
>                 URL: https://issues.apache.org/jira/browse/HBASE-18956
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Guanghao Zhang
>            Priority: Major
>
> In HBASE-18909, I add a new java_import for admin.rb. But the ruby-lint report "undefined method java_import".
> {code}
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:22:13: undefined method java
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:23:1: undefined method java_import
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:49:29: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:273:27: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:287:17: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:317:17: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1009:30: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1015:35: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1016:9: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1022:28: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1028:33: undefined constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1029:9: undefined constant Pattern
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)