{"action":"created","comment":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/165954634","pull_request_review_id":93965010,"id":165954634,"diff_hunk":"@@ -0,0 +1,47 @@\n+# Alluxio C++ API\n+\n+### environment variables configuration\n+- $JAVA_HOME must be set\n+- Java 8 is needed.\n+-  Append $ALLUXIO_CLIENT_CLASSPATH to CLASSPATH in libexec/alluxio-config.sh.\n+```\n+. alluxio-config.sh\n+export CLASSPATH=$CLASSPATH:$ALLUXIO_CLIENT_CLASSPATH\n+```\n+\n+### A simple example to build the cpp project to dist dir\n+- Use cmake to build library\n+```\n+cd $ALLUXIO_HOME/cpp\n+mkdir build\n+cd build\n+cmake ../\n+make\n+```\n+  You will get a static link library `libfilesystem.a`, a shared link library \n+`libsharedfilesystem.so` in cpp/build/src and execuable files in\n+cpp/bin, you can link .a or .so file to your own cpp project.\n+ \n+- Build library by mvn\n+ ```\n+ mvn clean install\n+ ```\n+ the link librarys are in cpp/target/native/src.\n+ \n+- Calling alluxio cpp API\n+```\n+#include <FileSystem.h>\n+```\n+\n+### Run the test case function in FileSystemTest\n+\n+- You can run execuable files mapping to different test cases directly \n+```\n+cd $ALLUXIO_HOME/cpp/build/test\n+./FileSystemTest\n+./FileRWTest\n+```\n+- Or use mvn tools to test all cases\n+```\n+mvn test","path":"cpp/README.md","position":46,"original_position":46,"commit_id":"e3502ca897698dacc09ceef4226ca27e66976753","original_commit_id":"e3502ca897698dacc09ceef4226ca27e66976753","user":{"login":"uronce-cc","id":3663941,"avatar_url":"https://avatars1.githubusercontent.com/u/3663941?v=4","gravatar_id":"","url":"https://api.github.com/users/uronce-cc","html_url":"https://github.com/uronce-cc","followers_url":"https://api.github.com/users/uronce-cc/followers","following_url":"https://api.github.com/users/uronce-cc/following{/other_user}","gists_url":"https://api.github.com/users/uronce-cc/gists{/gist_id}","starred_url":"https://api.github.com/users/uronce-cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uronce-cc/subscriptions","organizations_url":"https://api.github.com/users/uronce-cc/orgs","repos_url":"https://api.github.com/users/uronce-cc/repos","events_url":"https://api.github.com/users/uronce-cc/events{/privacy}","received_events_url":"https://api.github.com/users/uronce-cc/received_events","type":"User","site_admin":false},"body":"Is there a way to only run the C++ tests? `mvn test` will run tests against the whole Alluxio project.","created_at":"2018-02-05T12:09:56Z","updated_at":"2018-02-05T12:17:07Z","html_url":"https://github.com/Alluxio/alluxio/pull/6514#discussion_r165954634","pull_request_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/165954634"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/6514#discussion_r165954634"},"pull_request":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514"}}},"pull_request":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514","id":154404683,"html_url":"https://github.com/Alluxio/alluxio/pull/6514","diff_url":"https://github.com/Alluxio/alluxio/pull/6514.diff","patch_url":"https://github.com/Alluxio/alluxio/pull/6514.patch","issue_url":"https://api.github.com/repos/Alluxio/alluxio/issues/6514","number":6514,"state":"open","locked":false,"title":"[ALLUXIO-51] Provide C++ binding ","user":{"login":"Lichongjie","id":20237419,"avatar_url":"https://avatars1.githubusercontent.com/u/20237419?v=4","gravatar_id":"","url":"https://api.github.com/users/Lichongjie","html_url":"https://github.com/Lichongjie","followers_url":"https://api.github.com/users/Lichongjie/followers","following_url":"https://api.github.com/users/Lichongjie/following{/other_user}","gists_url":"https://api.github.com/users/Lichongjie/gists{/gist_id}","starred_url":"https://api.github.com/users/Lichongjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lichongjie/subscriptions","organizations_url":"https://api.github.com/users/Lichongjie/orgs","repos_url":"https://api.github.com/users/Lichongjie/repos","events_url":"https://api.github.com/users/Lichongjie/events{/privacy}","received_events_url":"https://api.github.com/users/Lichongjie/received_events","type":"User","site_admin":false},"body":"this commit focus on the jire task: https://alluxio.atlassian.net/browse/ALLUXIO-51\r\n","created_at":"2017-11-23T15:37:32Z","updated_at":"2018-02-05T12:17:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"725fee22dd3b9db88fe684b7845147fe0d61ddae","assignee":{"login":"apc999","id":1413748,"avatar_url":"https://avatars0.githubusercontent.com/u/1413748?v=4","gravatar_id":"","url":"https://api.github.com/users/apc999","html_url":"https://github.com/apc999","followers_url":"https://api.github.com/users/apc999/followers","following_url":"https://api.github.com/users/apc999/following{/other_user}","gists_url":"https://api.github.com/users/apc999/gists{/gist_id}","starred_url":"https://api.github.com/users/apc999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apc999/subscriptions","organizations_url":"https://api.github.com/users/apc999/orgs","repos_url":"https://api.github.com/users/apc999/repos","events_url":"https://api.github.com/users/apc999/events{/privacy}","received_events_url":"https://api.github.com/users/apc999/received_events","type":"User","site_admin":false},"assignees":[{"login":"apc999","id":1413748,"avatar_url":"https://avatars0.githubusercontent.com/u/1413748?v=4","gravatar_id":"","url":"https://api.github.com/users/apc999","html_url":"https://github.com/apc999","followers_url":"https://api.github.com/users/apc999/followers","following_url":"https://api.github.com/users/apc999/following{/other_user}","gists_url":"https://api.github.com/users/apc999/gists{/gist_id}","starred_url":"https://api.github.com/users/apc999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apc999/subscriptions","organizations_url":"https://api.github.com/users/apc999/orgs","repos_url":"https://api.github.com/users/apc999/repos","events_url":"https://api.github.com/users/apc999/events{/privacy}","received_events_url":"https://api.github.com/users/apc999/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514/commits","review_comments_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514/comments","review_comment_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/issues/6514/comments","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/e3502ca897698dacc09ceef4226ca27e66976753","head":{"label":"PasaLab:AlluxioCppClient","ref":"AlluxioCppClient","sha":"e3502ca897698dacc09ceef4226ca27e66976753","user":{"login":"PasaLab","id":6230048,"avatar_url":"https://avatars3.githubusercontent.com/u/6230048?v=4","gravatar_id":"","url":"https://api.github.com/users/PasaLab","html_url":"https://github.com/PasaLab","followers_url":"https://api.github.com/users/PasaLab/followers","following_url":"https://api.github.com/users/PasaLab/following{/other_user}","gists_url":"https://api.github.com/users/PasaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/PasaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PasaLab/subscriptions","organizations_url":"https://api.github.com/users/PasaLab/orgs","repos_url":"https://api.github.com/users/PasaLab/repos","events_url":"https://api.github.com/users/PasaLab/events{/privacy}","received_events_url":"https://api.github.com/users/PasaLab/received_events","type":"Organization","site_admin":false},"repo":{"id":21603565,"name":"tachyon","full_name":"PasaLab/tachyon","owner":{"login":"PasaLab","id":6230048,"avatar_url":"https://avatars3.githubusercontent.com/u/6230048?v=4","gravatar_id":"","url":"https://api.github.com/users/PasaLab","html_url":"https://github.com/PasaLab","followers_url":"https://api.github.com/users/PasaLab/followers","following_url":"https://api.github.com/users/PasaLab/following{/other_user}","gists_url":"https://api.github.com/users/PasaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/PasaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PasaLab/subscriptions","organizations_url":"https://api.github.com/users/PasaLab/orgs","repos_url":"https://api.github.com/users/PasaLab/repos","events_url":"https://api.github.com/users/PasaLab/events{/privacy}","received_events_url":"https://api.github.com/users/PasaLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PasaLab/tachyon","description":"Memory-centric Storage System for Big Data Analytics","fork":true,"url":"https://api.github.com/repos/PasaLab/tachyon","forks_url":"https://api.github.com/repos/PasaLab/tachyon/forks","keys_url":"https://api.github.com/repos/PasaLab/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PasaLab/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PasaLab/tachyon/teams","hooks_url":"https://api.github.com/repos/PasaLab/tachyon/hooks","issue_events_url":"https://api.github.com/repos/PasaLab/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/PasaLab/tachyon/events","assignees_url":"https://api.github.com/repos/PasaLab/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/PasaLab/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/PasaLab/tachyon/tags","blobs_url":"https://api.github.com/repos/PasaLab/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PasaLab/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PasaLab/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/PasaLab/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PasaLab/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/PasaLab/tachyon/languages","stargazers_url":"https://api.github.com/repos/PasaLab/tachyon/stargazers","contributors_url":"https://api.github.com/repos/PasaLab/tachyon/contributors","subscribers_url":"https://api.github.com/repos/PasaLab/tachyon/subscribers","subscription_url":"https://api.github.com/repos/PasaLab/tachyon/subscription","commits_url":"https://api.github.com/repos/PasaLab/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/PasaLab/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/PasaLab/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/PasaLab/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/PasaLab/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/PasaLab/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PasaLab/tachyon/merges","archive_url":"https://api.github.com/repos/PasaLab/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PasaLab/tachyon/downloads","issues_url":"https://api.github.com/repos/PasaLab/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/PasaLab/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/PasaLab/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/PasaLab/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PasaLab/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/PasaLab/tachyon/releases{/id}","deployments_url":"https://api.github.com/repos/PasaLab/tachyon/deployments","created_at":"2014-07-08T07:42:41Z","updated_at":"2017-12-22T05:28:29Z","pushed_at":"2018-02-05T09:10:11Z","git_url":"git://github.com/PasaLab/tachyon.git","ssh_url":"git@github.com:PasaLab/tachyon.git","clone_url":"https://github.com/PasaLab/tachyon.git","svn_url":"https://github.com/PasaLab/tachyon","homepage":"http://tachyon-project.org","size":93093,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Alluxio:cpp","ref":"cpp","sha":"435d826f2329e9cf42a188d996b1527a685eff29","user":{"login":"Alluxio","id":16203694,"avatar_url":"https://avatars0.githubusercontent.com/u/16203694?v=4","gravatar_id":"","url":"https://api.github.com/users/Alluxio","html_url":"https://github.com/Alluxio","followers_url":"https://api.github.com/users/Alluxio/followers","following_url":"https://api.github.com/users/Alluxio/following{/other_user}","gists_url":"https://api.github.com/users/Alluxio/gists{/gist_id}","starred_url":"https://api.github.com/users/Alluxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alluxio/subscriptions","organizations_url":"https://api.github.com/users/Alluxio/orgs","repos_url":"https://api.github.com/users/Alluxio/repos","events_url":"https://api.github.com/users/Alluxio/events{/privacy}","received_events_url":"https://api.github.com/users/Alluxio/received_events","type":"Organization","site_admin":false},"repo":{"id":7276954,"name":"alluxio","full_name":"Alluxio/alluxio","owner":{"login":"Alluxio","id":16203694,"avatar_url":"https://avatars0.githubusercontent.com/u/16203694?v=4","gravatar_id":"","url":"https://api.github.com/users/Alluxio","html_url":"https://github.com/Alluxio","followers_url":"https://api.github.com/users/Alluxio/followers","following_url":"https://api.github.com/users/Alluxio/following{/other_user}","gists_url":"https://api.github.com/users/Alluxio/gists{/gist_id}","starred_url":"https://api.github.com/users/Alluxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alluxio/subscriptions","organizations_url":"https://api.github.com/users/Alluxio/orgs","repos_url":"https://api.github.com/users/Alluxio/repos","events_url":"https://api.github.com/users/Alluxio/events{/privacy}","received_events_url":"https://api.github.com/users/Alluxio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alluxio/alluxio","description":"Alluxio, formerly Tachyon, Unify Data at Memory Speed","fork":false,"url":"https://api.github.com/repos/Alluxio/alluxio","forks_url":"https://api.github.com/repos/Alluxio/alluxio/forks","keys_url":"https://api.github.com/repos/Alluxio/alluxio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alluxio/alluxio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alluxio/alluxio/teams","hooks_url":"https://api.github.com/repos/Alluxio/alluxio/hooks","issue_events_url":"https://api.github.com/repos/Alluxio/alluxio/issues/events{/number}","events_url":"https://api.github.com/repos/Alluxio/alluxio/events","assignees_url":"https://api.github.com/repos/Alluxio/alluxio/assignees{/user}","branches_url":"https://api.github.com/repos/Alluxio/alluxio/branches{/branch}","tags_url":"https://api.github.com/repos/Alluxio/alluxio/tags","blobs_url":"https://api.github.com/repos/Alluxio/alluxio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alluxio/alluxio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alluxio/alluxio/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alluxio/alluxio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/{sha}","languages_url":"https://api.github.com/repos/Alluxio/alluxio/languages","stargazers_url":"https://api.github.com/repos/Alluxio/alluxio/stargazers","contributors_url":"https://api.github.com/repos/Alluxio/alluxio/contributors","subscribers_url":"https://api.github.com/repos/Alluxio/alluxio/subscribers","subscription_url":"https://api.github.com/repos/Alluxio/alluxio/subscription","commits_url":"https://api.github.com/repos/Alluxio/alluxio/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alluxio/alluxio/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alluxio/alluxio/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alluxio/alluxio/contents/{+path}","compare_url":"https://api.github.com/repos/Alluxio/alluxio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alluxio/alluxio/merges","archive_url":"https://api.github.com/repos/Alluxio/alluxio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alluxio/alluxio/downloads","issues_url":"https://api.github.com/repos/Alluxio/alluxio/issues{/number}","pulls_url":"https://api.github.com/repos/Alluxio/alluxio/pulls{/number}","milestones_url":"https://api.github.com/repos/Alluxio/alluxio/milestones{/number}","notifications_url":"https://api.github.com/repos/Alluxio/alluxio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alluxio/alluxio/labels{/name}","releases_url":"https://api.github.com/repos/Alluxio/alluxio/releases{/id}","deployments_url":"https://api.github.com/repos/Alluxio/alluxio/deployments","created_at":"2012-12-21T17:43:46Z","updated_at":"2018-02-05T02:30:41Z","pushed_at":"2018-02-05T09:10:13Z","git_url":"git://github.com/Alluxio/alluxio.git","ssh_url":"git@github.com:Alluxio/alluxio.git","clone_url":"https://github.com/Alluxio/alluxio.git","svn_url":"https://github.com/Alluxio/alluxio","homepage":"http://www.alluxio.org/","size":85914,"stargazers_count":3334,"watchers_count":3334,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1742,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1742,"open_issues":15,"watchers":3334,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/6514"},"issue":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/6514"},"comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/6514/comments"},"review_comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514/comments"},"review_comment":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/6514/commits"},"statuses":{"href":"https://api.github.com/repos/Alluxio/alluxio/statuses/e3502ca897698dacc09ceef4226ca27e66976753"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"uronce-cc"}}