{"action":"created","issue":{"url":"https://api.github.com/repos/h2oai/sparkling-water/issues/23","labels_url":"https://api.github.com/repos/h2oai/sparkling-water/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/h2oai/sparkling-water/issues/23/comments","events_url":"https://api.github.com/repos/h2oai/sparkling-water/issues/23/events","html_url":"https://github.com/h2oai/sparkling-water/issues/23","id":120256696,"number":23,"title":"Sample does not work for Mesos Cluster","user":{"login":"yanglei99","id":3266793,"avatar_url":"https://avatars.githubusercontent.com/u/3266793?v=3","gravatar_id":"","url":"https://api.github.com/users/yanglei99","html_url":"https://github.com/yanglei99","followers_url":"https://api.github.com/users/yanglei99/followers","following_url":"https://api.github.com/users/yanglei99/following{/other_user}","gists_url":"https://api.github.com/users/yanglei99/gists{/gist_id}","starred_url":"https://api.github.com/users/yanglei99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanglei99/subscriptions","organizations_url":"https://api.github.com/users/yanglei99/orgs","repos_url":"https://api.github.com/users/yanglei99/repos","events_url":"https://api.github.com/users/yanglei99/events{/privacy}","received_events_url":"https://api.github.com/users/yanglei99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T19:59:01Z","updated_at":"2015-12-03T22:55:46Z","closed_at":null,"body":"I can run sample using spark-submit against a --master=local[2]. However when I target it to my mesos cluster, I got NPE: by class water.parser.ParseSetup$GuessSetupTsk; class java.lang.NullPointerException: null\r\n\tat water.parser.ParseSetup$GuessSetupTsk.map(ParseSetup.java:269)\r\n\tat water.MRTask.compute2(MRTask.java:624)\r\n\tat water.H2O$H2OCountedCompleter.compute(H2O.java:1017)\r\n\r\nIf the issue is related to how the sample is loading the data, I wonder if we should be creating some sample that will work with remote clusters, e.g. hosting the data on S3..\r\n\r\nThank you .\r\n\r\nYang."},"comment":{"url":"https://api.github.com/repos/h2oai/sparkling-water/issues/comments/161815514","html_url":"https://github.com/h2oai/sparkling-water/issues/23#issuecomment-161815514","issue_url":"https://api.github.com/repos/h2oai/sparkling-water/issues/23","id":161815514,"user":{"login":"mmalohlava","id":597582,"avatar_url":"https://avatars.githubusercontent.com/u/597582?v=3","gravatar_id":"","url":"https://api.github.com/users/mmalohlava","html_url":"https://github.com/mmalohlava","followers_url":"https://api.github.com/users/mmalohlava/followers","following_url":"https://api.github.com/users/mmalohlava/following{/other_user}","gists_url":"https://api.github.com/users/mmalohlava/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalohlava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalohlava/subscriptions","organizations_url":"https://api.github.com/users/mmalohlava/orgs","repos_url":"https://api.github.com/users/mmalohlava/repos","events_url":"https://api.github.com/users/mmalohlava/events{/privacy}","received_events_url":"https://api.github.com/users/mmalohlava/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T22:55:45Z","updated_at":"2015-12-03T22:55:45Z","body":"Hi Yang,\n\nif you would like to point to some data store on HDFS/S3, please point URI to them:\n\n`val hf = new H2OFrame(new java.net.URI(\"hdfs//mynamenode/mydirectory/myfile.csv\"))`\n\nThe same for S3.\n\nIf you would like to parse a local file, it has to be distributed to each node in the cluster:\n`val hf = new H2OFrame(new java.io.File(\"/my/cluster/datastore/file.csv\"))`\n\nRight now, we our API does not provide a shortcut for upload of local file (open issue: \nhttps://0xdata.atlassian.net/browse/SW-56).\n\nThank you\nMichal\n\nOn 12/3/15 11:59 AM, Yang Lei wrote:\n>\n> I can run sample using spark-submit against a --master=local[2]. However when I target it to my \n> mesos cluster, I got NPE: by class water.parser.ParseSetup$GuessSetupTsk; class \n> java.lang.NullPointerException: null\n> at water.parser.ParseSetup$GuessSetupTsk.map(ParseSetup.java:269)\n> at water.MRTask.compute2(MRTask.java:624)\n> at water.H2O$H2OCountedCompleter.compute(H2O.java:1017)\n>\n> If the issue is related to how the sample is loading the data, I wonder if we should be creating \n> some sample that will work with remote clusters, e.g. hosting the data on S3..\n>\n> Thank you .\n>\n> Yang.\n>\n> —\n> Reply to this email directly or view it on GitHub \n> <https://github.com/h2oai/sparkling-water/issues/23>.\n>\n\n"}}