You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nicholas-chope (via GitHub)" <gi...@apache.org> on 2023/05/25 02:44:31 UTC
[GitHub] [hudi] nicholas-chope commented on issue #1359: [SUPPORT] handle partition value containing colon ?
nicholas-chope commented on issue #1359:
URL: https://github.com/apache/hudi/issues/1359#issuecomment-1562178535
Hi I'm facing a similar issue when trying to partition hudi data into hourly partitions using timestamps. Any workaround?
`java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: bet_end_hour=2022-01-19 03:00:00.0
at org.apache.hadoop.fs.Path.initialize(Path.java:271) ~[hadoop-client-api-3.3.3-amzn-0.jar:?]
at org.apache.hadoop.fs.Path.<init>(Path.java:229) ~[hadoop-client-api-3.3.3-amzn-0.jar:?]
at org.apache.hadoop.fs.Path.<init>(Path.java:129) ~[hadoop-client-api-3.3.3-amzn-0.jar:?]
at org.apache.hudi.hadoop.CachingPath.<init>(CachingPath.java:50) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.common.fs.FSUtils.getPartitionPath(FSUtils.java:618) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.common.fs.FSUtils.getPartitionPath(FSUtils.java:613) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.io.storage.row.HoodieRowCreateHandle.makeNewPath(HoodieRowCreateHandle.java:247) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.io.storage.row.HoodieRowCreateHandle.<init>(HoodieRowCreateHandle.java:114) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.table.action.commit.BulkInsertDataInternalWriterHelper.createHandle(BulkInsertDataInternalWriterHelper.java:210) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.table.action.commit.BulkInsertDataInternalWriterHelper.getRowCreateHandle(BulkInsertDataInternalWriterHelper.java:197) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.table.action.commit.BulkInsertDataInternalWriterHelper.write(BulkInsertDataInternalWriterHelper.java:148) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.spark3.internal.HoodieBulkInsertDataInternalWriter.write(HoodieBulkInsertDataInternalWriter.java:48) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.hudi.spark3.internal.HoodieBulkInsertDataInternalWriter.write(HoodieBulkInsertDataInternalWriter.java:35) ~[hudi-utilities-bundle_2.12-0.12.1.jar:0.12.1]
at org.apache.spark.sql.execution.datasources.v2.DataWritingSparkTask$.$anonfun$run$1(WriteToDataSourceV2Exec.scala:442) ~[spark-sql_2.12-3.3.0-amzn-1.jar:3.3.0-amzn-1]
at org.apache.spark.util.Utils$.tryWithSafeFinallyAndFailureCallbacks(Utils.scala:1550) ~[spark-core_2.12-3.3.0-amzn-1.jar:3.3.0-amzn-1]
at org.apache.spark.sql.execution.datasources.v2.DataWritingSparkTask$.run(WriteToDataSourceV2Exec.scala:480) ~[spark-sql_2.12-3.3.0-amzn-1.jar:3.3.0-amzn-1]
at org.apache.spark.sql.execution.datasources.v2.V2TableWriteExec.$anonfun$writeWithV2$2(WriteToDataSourceV2Exec.scala:381) ~[spark-sql_2.12-3.3.0-amzn-1.jar:3.3.0-amzn-1]
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90) ~[spark-core_2.12-3.3.0-amzn-1.jar:3.3.0-amzn-1]
at org.apache.spark.scheduler.Task.run(Task.scala:138) ~[spark-core_2.12-3.3.0-amzn-1.jar:3.3.0-amzn-1]
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548) ~[spark-core_2.12-3.3.0-amzn-1.jar:?]
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1516) ~[spark-core_2.12-3.3.0-amzn-1.jar:3.3.0-amzn-1]
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551) ~[spark-core_2.12-3.3.0-amzn-1.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_362]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_362]
at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_362]`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org