Uh oh!
There was an error while loading. Please reload this page.
Add tachyon interpreter - #632
Conversation
There was a problem hiding this comment.
could we please log this in logger
maocorte
commented
Jan 13, 2016
Hi @felixcheung , many thanks for your suggestions. |
felixcheung
commented
Jan 13, 2016
thanks. and thanks for contributing this new interpreter! |
There was a problem hiding this comment.
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?
maocorte
commented
Jan 14, 2016
Thank you for the suggestions, I hope changes will be fine |
There was a problem hiding this comment.
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?
maocorte
commented
Jan 14, 2016
Hi @hsaputra , thank you for your advices. |
felixcheung
commented
Jan 19, 2016
maocorte
commented
Jan 19, 2016
I've added the doc for the interpreter and a simple method to print the availble commands list. |
jsimsa
commented
Jan 19, 2016
@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 |
maocorte
commented
Jan 19, 2016
Thank you @jsimsa, I was thinking about using LocalTachyonCluster to creare a local cluster and interact with it. |
jsimsa
commented
Jan 19, 2016
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. |
hsaputra
commented
Jan 19, 2016
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. |
maocorte
commented
Jan 19, 2016
I've added few tests for the interpreter using LocalTachyonCluster, any suggestion is appreciated. |
felixcheung
commented
Jan 20, 2016
I'd believe so - they should be added to license even if it is test only |
maocorte
commented
Jan 20, 2016
Done, thank you!!! |
felixcheung
commented
Jan 24, 2016
I tried to test this but was not able to pull the changes from the branch, I'll look into this a bit more. |
maocorte
commented
Jan 25, 2016
Hi @felixcheung , I have tried but works for me. |
felixcheung
commented
Jan 26, 2016
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
maocorte
commented
Jan 26, 2016
Changed format of tachyon documentation to new guidelines and added link to navigation page. |
felixcheung
commented
Jan 26, 2016
Thanks @AhyoungRyu could you please take a quick look at the doc too? |
There was a problem hiding this comment.
There is a small typo in here. Maybe localhost is right. isn't it?
AhyoungRyu
commented
Jan 27, 2016
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! |
maocorte
commented
Jan 27, 2016
Thank you @AhyoungRyu for your review and your suggestions and I'm glad you appreciate the idea of a Tachyon interpreter. |
AhyoungRyu
commented
Jan 27, 2016
@maocorte If you add a new line below line number 203 in |
maocorte
commented
Jan 27, 2016
Thank you @AhyoungRyu...sorry, my fault!! |
felixcheung
commented
Jan 27, 2016
thanks! merging if there is no more discussion |
jsimsa
commented
Jan 29, 2016
@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