{"action":"created","issue":{"url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/281","labels_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/281/comments","events_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/281/events","html_url":"https://github.com/andypetrella/spark-notebook/issues/281","id":98000026,"number":281,"title":"Spark Notebook on Windows?","user":{"login":"cbvoxel","id":13204222,"avatar_url":"https://avatars.githubusercontent.com/u/13204222?v=3","gravatar_id":"","url":"https://api.github.com/users/cbvoxel","html_url":"https://github.com/cbvoxel","followers_url":"https://api.github.com/users/cbvoxel/followers","following_url":"https://api.github.com/users/cbvoxel/following{/other_user}","gists_url":"https://api.github.com/users/cbvoxel/gists{/gist_id}","starred_url":"https://api.github.com/users/cbvoxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbvoxel/subscriptions","organizations_url":"https://api.github.com/users/cbvoxel/orgs","repos_url":"https://api.github.com/users/cbvoxel/repos","events_url":"https://api.github.com/users/cbvoxel/events{/privacy}","received_events_url":"https://api.github.com/users/cbvoxel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-29T18:29:34Z","updated_at":"2015-07-29T22:32:05Z","closed_at":null,"body":"Hi! First off, I am sorry if I post my question in the wrong place! Let me know a better place then.\r\n\r\nShort Story: I am having difficulties figuring out why the \"kernel\" is not starting. I have the logs of the \"application\", its stderr/stdout and the running application's logs (sn-...). Albeit \"DEBUG\" loglevel, I cannot see anything going wrong, yet the standalone (let alone yarn) won't work. On the (newly opened) notebook file it just stays at \"initializing kernel\". \r\n\r\nI downloaded the current version from here (git), and built it with sbt with Hadoop 2.7.0, spark 1.4.1 and with parquets on a windows 7 computer using intellij.\r\n\r\nFirst off, I need to know if I am really getting all the logs. Please assist if there are more options.\r\n\r\nSecond, are there issues with spark-notebook regarding too long classpaths? In my case I'd say so. Looking into the logs of the \"application\" I can see a classpath being about 18000 characters long. I'm sure, spark-notebook is also using cmd. That would indeed break. I have changed code at\r\n\r\nnotebook.kernel.pfork.ForkableProcess at line 115\r\n\r\n115 - val environment = System.getenv + (\"CLASSPATH\" -> (\r\n116 -        sys.env.get(\"HADOOP_CONF_DIR\").map(_ + \":\").getOrElse(\"\") +\r\n117 -        sys.env.get(\"EXTRA_CLASSPATH\").map(_ + \":\").getOrElse(\"\") \r\n118 - \t\t + classPathString))\r\n\r\n115 + val environment = System.getenv + (\"CLASSPATH\" -> (\r\n116 +        sys.env.get(\"HADOOP_CONF_DIR\").map(_ + \";\").getOrElse(\"\")\r\n117 +        sys.env.get(\"EXTRA_CLASSPATH\").map(_ + \";\").getOrElse(\"\") ))\r\n118 +\r\n\r\nAnd added needed Libs into EXTRA_CLASSPATH environment variable with the <libpath>/* notation (that should save a lot of characters, since the whole classpath only references spark-notebook's libs and the jre libs in ext). But I must admit that I don't really know what I am doing here (man it's just been a day). As it doesn't do the magic, I think I am at the wrong spot.\r\n\r\nMaybe I am thinking too complicated and it's just my config. Either way, I would be extremely happy and grateful if some one would help!"},"comment":{"url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/comments/126116306","html_url":"https://github.com/andypetrella/spark-notebook/issues/281#issuecomment-126116306","issue_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/281","id":126116306,"user":{"login":"andypetrella","id":663344,"avatar_url":"https://avatars.githubusercontent.com/u/663344?v=3","gravatar_id":"","url":"https://api.github.com/users/andypetrella","html_url":"https://github.com/andypetrella","followers_url":"https://api.github.com/users/andypetrella/followers","following_url":"https://api.github.com/users/andypetrella/following{/other_user}","gists_url":"https://api.github.com/users/andypetrella/gists{/gist_id}","starred_url":"https://api.github.com/users/andypetrella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andypetrella/subscriptions","organizations_url":"https://api.github.com/users/andypetrella/orgs","repos_url":"https://api.github.com/users/andypetrella/repos","events_url":"https://api.github.com/users/andypetrella/events{/privacy}","received_events_url":"https://api.github.com/users/andypetrella/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T22:32:05Z","updated_at":"2015-07-29T22:32:05Z","body":"super cool, let me know, although I've little connectivity I'll try my best\nto help you 😆\n\nLe mer. 29 juil. 2015 22:47, cbvoxel <notifications@github.com> a écrit :\n\n> I will see if 1+1 works, haven't tried! I do have another day to work on\n> this issue, I am pretty confident that something useful will come out of\n> this (hopefully leading to a PR suggestion as you mentioned). So catch ya\n> later.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/andypetrella/spark-notebook/issues/281#issuecomment-126091490>\n> .\n>\n-- \nandy\n"}}