Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1609

Unable to insert data with Java Kudu client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Bug
    • 0.10.0
    • n/a
    • client
    • None
    • Important

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jirejas Jose Rejas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: