Hi everyone,
After migrating Calcite to Gradle, i built Calcite referring to docs[1] and got the following exception. As i have no idea to handle it, this help-seeking email comes. Thanks in advance. Best wishes, Trista [1] https://calcite.apache.org/docs/howto.html#building-from-git org.apache.calcite.adapter.file.FileReaderTest > testJsonFile STANDARD_ERROR SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 5.2sec, org.apache.calcite.adapter.file.FileReaderTest > testJsonFile FAILURE 0.6sec, org.apache.calcite.adapter.file.FileReaderTest > testFileReaderUrlNoPath org.apache.calcite.adapter.file.FileReaderTest > testFileReaderUrlNoPath FAILED org.apache.calcite.adapter.file.FileReaderException: Cannot read //en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States at org.apache.calcite.adapter.file.FileReader.getTable(FileReader.java:72) at org.apache.calcite.adapter.file.FileReader.refresh(FileReader.java:131) at org.apache.calcite.adapter.file.FileReaderTest.testFileReaderUrlNoPath(FileReaderTest.java:80) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:706) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:750) at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:722) at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:306) at org.jsoup.helper.HttpConnection.get(HttpConnection.java:295) at org.jsoup.Jsoup.parse(Jsoup.java:183) at org.apache.calcite.adapter.file.FileReader.getTable(FileReader.java:69) ... 2 more FAILURE 28.0sec, 15 completed, 1 failed, 2 skipped, org.apache.calcite.adapter.file.FileReaderTest WARNING 4.3sec, 16 completed, 0 failed, 1 skipped, org.apache.calcite.adapter.file.SqlTest FAILURE 34.0sec, 31 completed, 1 failed, 3 skipped, Gradle Test Run :file:test 31 tests completed, 1 failed, 3 skipped > Task :file:test FAILED Juan Pan [email protected] Juan Pan(Trista), Apache ShardingSphere
