[
https://issues.apache.org/jira/browse/HBASE-18393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091238#comment-16091238
]
Samir Ahmic commented on HBASE-18393:
-------------------------------------
[~mdrob] fix for hirb.rb looks fine and regarding test it may fail also because
of "hbase" scripts itself for example if JAVA_HOME is not found in env where
test is running, but i think it is OK since this way we also test "hbase"
script for potential issues, we just need to ensure env is setup correctly when
running test.
> hbase shell non-interactive broken
> ------------------------------------
>
> Key: HBASE-18393
> URL: https://issues.apache.org/jira/browse/HBASE-18393
> Project: HBase
> Issue Type: Bug
> Components: scripts, shell
> Affects Versions: 3.0.0, 2.0.0-alpha-1
> Reporter: Samir Ahmic
> Assignee: Mike Drob
> Priority: Blocker
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-18393.patch, HBASE-18393.v2.patch
>
>
> Here is error for command line:
> {code}
> $ echo "list" | ./hbase shell -n
> 2017-07-17 08:01:09,442 WARN [main] util.NativeCodeLoader: Unable to load
> native-hadoop library for your platform... using builtin-java classes where
> applicable
> ERROR NoMethodError: undefined method `encoding' for #<IO:<STDIN>>
> Did you mean? set_encoding
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)