You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2016/09/15 22:00:23 UTC

[jira] [Commented] (KUDU-1609) Unable to insert data with Java Kudu client

    [ https://issues.apache.org/jira/browse/KUDU-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494636#comment-15494636 ] 

Jean-Daniel Cryans commented on KUDU-1609:
------------------------------------------

Hi [~jirejas], this is probably just a configuration error, which we handle on the user mailing list or the Slack room. We use jiras for actual bugs, improvements, and features. Checkout http://kudu.apache.org/community.html

Regarding your issue, your table was probably not fully created so that's why it's spinning on IsCreateTableDone. Your master's log should have more information.

There is an improvement to make though regarding client timeouts, for example we could have printed the last error the client received from the master.

> Unable to insert data with Java Kudu client 
> --------------------------------------------
>
>                 Key: KUDU-1609
>                 URL: https://issues.apache.org/jira/browse/KUDU-1609
>             Project: Kudu
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.10.0
>            Reporter: Jose Rejas
>            Priority: Critical
>
> The java client for Kudu 0.10.0 does not work for me. The create and delete table oparations work fine but, when the program tries to insert data (client.newSession().apply(insert)) or doing a kuduScanner (scanner.nextRows()), I always get this error:
> org.apache.kudu.client.NonRecoverableException: RPC can not complete before timeout: KuduRpc(method=IsCreateTableDone, tablet=null, attempt=21, DeadlineTracker(timeout=30000, elapsed=26733), Deferred@20642503(state=PENDING, result=null, at org.apache.kudu.client.AsyncKuduClient.tooManyAttemptsOrTimeout(AsyncKuduClient.java:1066)
> The traces in WARNING logs are:
> W0913 14:26:58.887384 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/10354e9ada504a8bbdc5280fb00ed0b3.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:58.934103 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/a646b955276e4b48bc1c408e003a0142.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:58.980497 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/80c8ea77b0a340859175048c96a6dcd4.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:59.028298 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/6e9fb910b9fb45caac5e3b653036b432.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:59.070418 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/b8d2c1c4fc5b463abae1d77495cb0174.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:59.117106 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/21604de41a6c40da859502e5b8a7507f.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:59.167256 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/783f5b9d2340466ca2d895643db04f65.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:59.217768 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/09cc72a040f94c339523528881201400.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:59.270959 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/4f0b86b5bdbc4824863611ab6c4524e2.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
> W0913 14:26:59.320065 12619 log_util.cc:311] Could not read footer for segment: /var/lib/kudu/tserver/wals/6083d73d78194c0887682f92d797b985.recovery/wal-000000001: Not found: Footer not found. Footer magic doesn't match
>  
> Every folder exists, but without ".recovery" I don´t know why.
> Also, I have tested it with a higher timeout without successful results. 
> I´m running the test in windows and Kudu is running in an ubuntu server with these properties:
>  memory_limit_hard_bytes=1073741824
>  kudu-master port= 7051
> kudu-tablet-server=7050
> num_replicas=1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)