Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-15243

Provisioning a dataproc cluster sometimes fails due to date/time parsing

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Cloud Provisioner
    • Labels:
      None
    • Rank:
      1|i00n6v:

      Description

      Sometimes see the following exception during a cluster creation -

      2019-04-12 22:22:50,754 - ERROR [provisioning-service-9:i.c.c.i.p.t.ProvisioningTask@114] - PROVISION task failed in INITIALIZING state for program run program_run:default...
      java.lang.NumberFormatException: multiple points
      	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1890) ~[na:1.8.0_212]
      	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) ~[na:1.8.0_212]
      	at java.lang.Double.parseDouble(Double.java:538) ~[na:1.8.0_212]
      	at java.text.DigitList.getDouble(DigitList.java:169) ~[na:1.8.0_212]
      	at java.text.DecimalFormat.parse(DecimalFormat.java:2089) ~[na:1.8.0_212]
      	at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1869) ~[na:1.8.0_212]
      	at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1514) ~[na:1.8.0_212]
      	at java.text.DateFormat.parse(DateFormat.java:364) ~[na:1.8.0_212]
      	at io.cdap.cdap.runtime.spi.provisioner.dataproc.DataprocClient.getNode(DataprocClient.java:382) ~[na:na]
      	at io.cdap.cdap.runtime.spi.provisioner.dataproc.DataprocClient.getCluster(DataprocClient.java:274) ~[na:na]
      	at io.cdap.cdap.runtime.spi.provisioner.dataproc.DataprocProvisioner.getClusterDetail(DataprocProvisioner.java:193) ~[na:na]
      	at io.cdap.cdap.internal.provision.task.ClusterInitializeSubtask.execute(ClusterInitializeSubtask.java:46) ~[na:na]
      	at io.cdap.cdap.internal.provision.task.ProvisioningSubtask.execute(ProvisioningSubtask.java:54) ~[na:na]
      	at io.cdap.cdap.internal.provision.task.ProvisioningTask.lambda$execute$0(ProvisioningTask.java:107) ~[na:na]
      	at io.cdap.cdap.common.service.Retries.callWithRetries(Retries.java:183) ~[na:na]
      	at io.cdap.cdap.common.service.Retries.callWithInterruptibleRetries(Retries.java:257) ~[na:na]
      	at io.cdap.cdap.internal.provision.task.ProvisioningTask.execute(ProvisioningTask.java:107) ~[na:na]
      	at io.cdap.cdap.internal.provision.ProvisioningService.lambda$null$16(ProvisioningService.java:560) [na:na]
      	at io.cdap.cdap.internal.provision.ProvisioningService.runWithProgramLogging(ProvisioningService.java:756) [na:na]
      	at io.cdap.cdap.internal.provision.ProvisioningService.lambda$createProvisionTask$17(ProvisioningService.java:556) [na:na]
      	at io.cdap.cdap.common.async.KeyedExecutor.lambda$submit$0(KeyedExecutor.java:62) ~[na:na]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_212]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_212]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_212]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_212]
      	at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_212] 

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                trishka Trishka
                Reporter:
                poorna Poorna Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: