Uh oh!
There was an error while loading. Please reload this page.
HBASE-25841 Add basic jshell support - #3224
Conversation
ndimiduk
commented
May 3, 2021
Doesn't do anything other than adding a |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
ndimiduk
commented
May 3, 2021
|
Apache9
commented
May 4, 2021
Could you please provide some examples on how to make use of this jshell? It is just a standalone process? Not inside a master or regionserver process? |
ndimiduk
commented
May 4, 2021
Sure. I see this being as a more advanced feature, maybe a developer feature. I'm not really sure who the intended audience of the The patch as I've posted provides an interactive environment with HBase classes loaded. It is the equivalent of a Ruby IRB session, without all of the helpful DSL code we have that makes the This is a stand-alone process that is run by a user on-demand. It does not impact any of our existing daemon processes. Here's an example of how we might update our examples in the book from being code snippets to being jshell snippets, |
bharathv
left a comment
There was a problem hiding this comment.
I think this is useful for quickly debugging class path issues and such (or even small programs) saving the time taken to compile test classes. Handy to have the entire class path loaded into the jvm.
apurtell
commented
May 10, 2021
Yes, it wouldn't be a useful experience otherwise, and so this would save everyone some typing at every start time. |
madrob
commented
May 11, 2021
Agree that we should specify a startup script with base imports, make sure you include the default imports too though because |
ndimiduk
commented
May 13, 2021
I think I've addresses everyone's concerns. Please give it a spin and let me know if there are other imports we should include by default (for example, I initially considered I'm still looking into whether we can override the welcome message or add a new entry to the |
ndimiduk
commented
May 13, 2021
Also, HBASE-25889. |
Apache-HBase
commented
May 13, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 13, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 13, 2021
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: Bharath Vissapragada <bharathv@apache.org> Signed-off-by: Pankaj Kumar <pankajkumar@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org>
Apache-HBase
commented
May 19, 2021
💔 -1 overall
This message was automatically generated. |
2 similar comments
Apache-HBase
commented
May 19, 2021
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 19, 2021
💔 -1 overall
This message was automatically generated. |
No description provided.