[
https://issues.apache.org/jira/browse/HAMA-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642112#action_12642112
]
Edward J. Yoon commented on HAMA-89:
------------------------------------
Here's few comments
- There is a typing error. 'HBase Shell' should be 'Hama Shell'
- Let's hide a ParseException error message for easy-to-read using try/catch.
----
Hama > asdfsd
org.apache.hama.shell.parser.script.ParseException: Encountered "asdfsd" at
line 2, column 1.
Was expecting one of:
<EOF>
"help" ...
"quit" ...
"" ...
<EOL> ...
HAMA V1.0 SHELL COMMANDS
all the supported commands in hama shell will be:
'<hama expression> ;',
'quit',
'help'.
Try type 'help' to see details.
Hama >
> [Shell] Exception Handling
> ---------------------------
>
> Key: HAMA-89
> URL: https://issues.apache.org/jira/browse/HAMA-89
> Project: Hama
> Issue Type: Improvement
> Components: shell
> Reporter: Edward J. Yoon
> Assignee: Samuel Guo
> Fix For: 0.1.0
>
> Attachments: HAMA-89.patch
>
>
> Hama > exit
> org.apache.hama.shell.parser.script.ParseException: Encountered "exit" at
> line 3, column 1.
> Was expecting one of:
> <EOF>
> "help" ...
> "quit" ...
> "" ...
> <EOL> ...
> It would be nice if shell shows simple guide instead of error message.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.