02-24-2022 01:38 AM
Created Job ID is suddenly started to make huge numbers, and that is now making problems in Terraform plan, cause int is too big
Error: strconv.ParseInt: parsing "945270539673815": value out of range
Im new on the board and pretty new with Databricks so bare with me, if more information is needed please ask ill try to answer with my best know how.
Databricks is running on Azure.
02-24-2022 10:11 PM
Got it working again i thing problem was old version of providers and terraform Now running on following version and everything is ok now
Terraform v1.1.6
on windows_amd64
+ provider registry.terraform.io/databrickslabs/databricks v0.5.0
+ provider registry.terraform.io/hashicorp/azuread v1.6.0
+ provider registry.terraform.io/hashicorp/azurerm v2.98.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
02-24-2022 06:44 AM
Hi @Jere Karhu ! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers in the community have an answer to your question first. Or else I will get back to you soon. Thanks.
02-24-2022 02:39 PM
Hi @Jere Karhu ,
parseint parses the given string as a representation of an integer in the specified base and returns the resulting number. The base must be between 2 and 62 inclusive.
All bases use the Arabic numerals 0 through 9 first. Bases between 11 and 36 inclusive use case-insensitive Latin letters to represent higher unit values. Bases 37 and higher use lowercase Latin letters and then uppercase Latin letters.
Note:- If the given string contains any non-digit characters or digits characters that are too large for the given base then parseint will produce an error.
02-24-2022 02:46 PM
Hi @Jere Karhu , What terraform version are you using?
02-24-2022 09:41 PM
Im using Terraform 1.0.10 i will try next to update providers and terraform and see if it helps
02-24-2022 10:11 PM
Got it working again i thing problem was old version of providers and terraform Now running on following version and everything is ok now
Terraform v1.1.6
on windows_amd64
+ provider registry.terraform.io/databrickslabs/databricks v0.5.0
+ provider registry.terraform.io/hashicorp/azuread v1.6.0
+ provider registry.terraform.io/hashicorp/azurerm v2.98.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
02-24-2022 10:55 PM
Great!
03-01-2022 04:36 AM
For posterity -- you are seeing large Job IDs because of an update to our internal database. We did this because our jobs service is scaling out massively, and the old ID scheme wasn't going to work for much longer.
04-03-2022 12:25 PM
Hi @Jere Karhu , In case you are using the Job/Run id in API, please be advised that you will need to change the client-side logic to process int64/long and expect a random number. In some cases, you just need to change the declared type in their source code to long and do not count on ids being sequential or sorted.
Previously the job/run id was sequential and could be sorted.
Current sample job URL - https://sample.cloud.databricks.com/?o=3329755207123451#job/281680268617720/run/6615691
(here the job/run id has improved to be a bigger/longer number)
Previous sample job URL - https://sample.cloud.databricks.com/?o=3329755207123451#job/5/run/6615597
It is mitigated in version 0.5.3. The below link points to the main Terraform Registry page suggests you use the latest version of the terraform provider.
https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.