-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add tachyon interpreter #632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we please log this in logger
|
Hi @felixcheung , many thanks for your suggestions. |
|
thanks. and thanks for contributing this new interpreter! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure but I believe it is required that any file would have the Apache License, even the embedded resource - like this one
Is this something you could accommodate?
|
Thank you for the suggestions, I hope changes will be fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of loop through keywords list, could keywords be in form of HashSet so you could just check HashSet.contains?
Does it need to check with startsWith?
|
Hi @hsaputra , thank you for your advices. |
|
I've added the doc for the interpreter and a simple method to print the availble commands list. |
|
@maocorte if you need to spin up a test EC2 Tachyon cluster, the Tachyon project contains scripts for doing exactly that: http://tachyon-project.org/documentation/Running-Tachyon-on-EC2.html |
|
Thank you @jsimsa, I was thinking about using LocalTachyonCluster to creare a local cluster and interact with it. |
|
That is an interesting idea. I know that Tachyon makes extensive use of it in its integration tests, but I am not sure if you will be able to interact with it from the Zeppelin interpreter. It is worth a try though and if it works, it would be definitely be a better way of testing the interpreter. |
|
You are right, we could use startsWith. Was trying to avoid iterating through all keywords but using hash set not the right way. Maybe something like trie would work but would be too much for this. |
|
I've added few tests for the interpreter using LocalTachyonCluster, any suggestion is appreciated. |
|
I'd believe so - they should be added to license even if it is test only |
|
Done, thank you!!! |
|
I tried to test this but was not able to pull the changes from the branch, I'll look into this a bit more. |
|
Hi @felixcheung , I have tried but works for me. |
|
Tested, worked well, thanks! One small question, some invalid commands do not always give an error message, do you know why? Also for the doc, could you add a link from https://github.com/apache/incubator-zeppelin/blob/master/docs/_includes/themes/zeppelin/_navigation.html#L47 And could you please update the doc format to be consistent with this recent commit: #648 |
… into navigation page
|
Changed format of tachyon documentation to new guidelines and added link to navigation page. |
|
Thanks @AhyoungRyu could you please take a quick look at the doc too? |
docs/interpreter/tachyon.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a small typo in here. Maybe localhost is right. isn't it?
|
Hi @maocorte : ) It's really good news that we have Tachyon interpreter ! How about adding a basic Tachyon example code and result image(if possible) to the How to test it's working section? If so, people can test and start Tachyon interpreter much easier. Thanks! |
|
Thank you @AhyoungRyu for your review and your suggestions and I'm glad you appreciate the idea of a Tachyon interpreter. |
|
@maocorte If you add a new line below line number 203 in |
|
Thank you @AhyoungRyu...sorry, my fault!! |
|
thanks! merging if there is no more discussion |
|
@maocorte thanks for the PR! @felixcheung OOC, when will the Tachyon documentation appear on the zeppelin website? (https://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/ -> Interpreter) |



What is this PR for?
Add an interpreter to work with a tachyon file system.
Properties required for the interpreter are:
What type of PR is it?
feature
Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-604
How should this be tested?
$ ./bin/tachyon-start.sh localScreenshots (if appropriate)
Questions:
/cc @jsimsa for the support he give us to develop this feature