{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tispark/issues/282","repository_url":"https://api.github.com/repos/pingcap/tispark","labels_url":"https://api.github.com/repos/pingcap/tispark/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tispark/issues/282/comments","events_url":"https://api.github.com/repos/pingcap/tispark/issues/282/events","html_url":"https://github.com/pingcap/tispark/issues/282","id":305079525,"number":282,"title":"Update TiDB to 2.0RC1 then TiSpark can not get data","user":{"login":"DavisLinDB","id":26958647,"avatar_url":"https://avatars0.githubusercontent.com/u/26958647?v=4","gravatar_id":"","url":"https://api.github.com/users/DavisLinDB","html_url":"https://github.com/DavisLinDB","followers_url":"https://api.github.com/users/DavisLinDB/followers","following_url":"https://api.github.com/users/DavisLinDB/following{/other_user}","gists_url":"https://api.github.com/users/DavisLinDB/gists{/gist_id}","starred_url":"https://api.github.com/users/DavisLinDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavisLinDB/subscriptions","organizations_url":"https://api.github.com/users/DavisLinDB/orgs","repos_url":"https://api.github.com/users/DavisLinDB/repos","events_url":"https://api.github.com/users/DavisLinDB/events{/privacy}","received_events_url":"https://api.github.com/users/DavisLinDB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T09:25:12Z","updated_at":"2018-03-14T09:27:25Z","closed_at":null,"author_association":"NONE","body":"Update TiDB cluster from 1.1 to 2.0RC1.\r\nTiSpark can only get schema but can't get data.\r\nTiSpark can get data when using TiDB 1.1.\r\n\r\nThese step:\r\n```\r\n./spark-shell --jars /opt/spark/dist/tispark-0.1.0-SNAPSHOT-jar-with-dependencies.jar\r\n\r\nimport org.apache.spark.sql.TiContext\r\nval ti = new TiContext (spark)\r\nti.tidbMapDatabase (\"test\")\r\nspark.sql(\"select * from sequencek\").show\r\n\r\n```\r\nNothing in TiSpark.\r\nspark.sql(\"select * from sequencek\").show\r\n+---+\r\n| id|\r\n+---+\r\n+---+\r\n\r\n1000 records in TiDB.\r\nMySQL [test]> select * from sequencek;\r\n+------+\r\n| id   |\r\n+------+\r\n|    1 |\r\n...\r\n| 1000 |\r\n+------+\r\n1000 rows in set (59.84 sec)\r\n\r\nRelease Version:  v2.0.0-rc.1-21-g46f938c\r\nGit Commit Hash:  46f938c632103ba7143775e884be33a1875cfa45\r\nGit Commit Branch:  master\r\nUTC Build Time:  2018-03-12 04:25:56\r\nGoVersion:  go version go1.10 linux/amd64\r\nTiKV Min Version:  1.1.0-dev.2\r\n\r\n6 servers to deploy TiDB cluster.\r\n.1 E5620 CPU, 32G RAM, 480G * 4 SSD, TiKV + PD\r\n.2 E5620 CPU, 32G RAM, 480G * 4 SSD, TiKV + PD\r\n.3 E5620 CPU, 32G RAM, 480G * 4 SSD, TiKV + PD\r\n.4 E5620 CPU, 32G RAM, 480G * 4 SSD, TiKV\r\n.5 E5620 CPU, 32G RAM, SAS HDD, TiDB\r\n.6 E5620 CPU, 32G RAM, SAS HDD, TiDB\r\neach running CentOS 7."},"comment":{"url":"https://api.github.com/repos/pingcap/tispark/issues/comments/372956489","html_url":"https://github.com/pingcap/tispark/issues/282#issuecomment-372956489","issue_url":"https://api.github.com/repos/pingcap/tispark/issues/282","id":372956489,"user":{"login":"Novemser","id":12718118,"avatar_url":"https://avatars1.githubusercontent.com/u/12718118?v=4","gravatar_id":"","url":"https://api.github.com/users/Novemser","html_url":"https://github.com/Novemser","followers_url":"https://api.github.com/users/Novemser/followers","following_url":"https://api.github.com/users/Novemser/following{/other_user}","gists_url":"https://api.github.com/users/Novemser/gists{/gist_id}","starred_url":"https://api.github.com/users/Novemser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Novemser/subscriptions","organizations_url":"https://api.github.com/users/Novemser/orgs","repos_url":"https://api.github.com/users/Novemser/repos","events_url":"https://api.github.com/users/Novemser/events{/privacy}","received_events_url":"https://api.github.com/users/Novemser/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T09:27:25Z","updated_at":"2018-03-14T09:27:25Z","author_association":"COLLABORATOR","body":"Could you please specify how\r\n`spark.sql(\"select * from sequencek\").explain`\r\nlooks, and your `spark-defaults.conf` looks?\r\n\r\nThank you. @DavisLinDB "}}
{"actor":{"display_login":"Novemser"}}