Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-03-06 Thread via GitHub


yihua closed pull request #10455: [HUDI-7276] FILE_GROUP_READER_ENABLED should 
be disable for query
URL: https://github.com/apache/hudi/pull/10455


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-03-06 Thread via GitHub


yihua commented on PR #10455:
URL: https://github.com/apache/hudi/pull/10455#issuecomment-1982441361

   Closing this PR as we should not turn off the file group reader in Hudi 1.x, 
but we should understand why the exception is thrown.  @xuzifu666 have you 
already created a GH issue to track this?


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-01-08 Thread via GitHub


linliu-code commented on PR #10455:
URL: https://github.com/apache/hudi/pull/10455#issuecomment-1882525739

   @xuzifu666 do you have any same data and the query that generates the error? 
With that I can try to fix the problem asap. Thanks!


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-01-08 Thread via GitHub


hudi-bot commented on PR #10455:
URL: https://github.com/apache/hudi/pull/10455#issuecomment-1880550171

   
   ## CI report:
   
   * 8b9a7301e91e42ce4cbab9ff3fb05fd3bd6b0fab Azure: 
[FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=21857)
 
   
   
   Bot commands
 @hudi-bot supports the following commands:
   
- `@hudi-bot run azure` re-run the last Azure build
   


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-01-07 Thread via GitHub


hudi-bot commented on PR #10455:
URL: https://github.com/apache/hudi/pull/10455#issuecomment-1880452974

   
   ## CI report:
   
   * 8b9a7301e91e42ce4cbab9ff3fb05fd3bd6b0fab Azure: 
[PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=21857)
 
   
   
   Bot commands
 @hudi-bot supports the following commands:
   
- `@hudi-bot run azure` re-run the last Azure build
   


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-01-07 Thread via GitHub


hudi-bot commented on PR #10455:
URL: https://github.com/apache/hudi/pull/10455#issuecomment-1880447261

   
   ## CI report:
   
   * 8b9a7301e91e42ce4cbab9ff3fb05fd3bd6b0fab UNKNOWN
   
   
   Bot commands
 @hudi-bot supports the following commands:
   
- `@hudi-bot run azure` re-run the last Azure build
   


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-01-07 Thread via GitHub


xuzifu666 commented on PR #10455:
URL: https://github.com/apache/hudi/pull/10455#issuecomment-1880435258

   cc @stream2000 PTAL


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-01-07 Thread via GitHub


xuzifu666 commented on PR #10455:
URL: https://github.com/apache/hudi/pull/10455#issuecomment-1880433127

   `java.io.IOException: com.esotericsoftware.kryo.KryoException: 
java.lang.NullPointerException
   Serialization trace:
   props (org.apache.avro.Schema$LongSchema)
   types (org.apache.avro.Schema$UnionSchema)
   schema (org.apache.avro.Schema$Field)
   fieldMap (org.apache.avro.Schema$RecordSchema)
at org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:1453)
at 
org.apache.spark.broadcast.TorrentBroadcast.readBroadcastBlock(TorrentBroadcast.scala:226)
at 
org.apache.spark.broadcast.TorrentBroadcast.getValue(TorrentBroadcast.scala:103)
at org.apache.spark.broadcast.Broadcast.value(Broadcast.scala:70)
at 
org.apache.spark.sql.execution.datasources.parquet.HoodieFileGroupReaderBasedParquetFileFormat.$anonfun$buildReaderWithPartitionValues$3(HoodieFileGroupReaderBasedParquetFileFormat.scala:149)
at 
org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.org$apache$spark$sql$execution$datasources$FileScanRDD$$anon$$readCurrentFile(FileScanRDD.scala:117)
at 
org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.nextIterator(FileScanRDD.scala:165)
at 
org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.hasNext(FileScanRDD.scala:94)
at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:460)
at 
org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.agg_doAggregateWithoutKey_0$(Unknown
 Source)
at 
org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown
 Source)
at 
org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
at 
org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:759)
at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:460)
at 
org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:140)
at 
org.apache.spark.shuffle.ShuffleWriteProcessor.write(ShuffleWriteProcessor.scala:59)
at 
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99)
at 
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:52)
at org.apache.spark.scheduler.Task.run(Task.scala:131)
at 
org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:506)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1480)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:509)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
   Caused by: com.esotericsoftware.kryo.KryoException: 
java.lang.NullPointerException
   Serialization trace:
   props (org.apache.avro.Schema$LongSchema)
   types (org.apache.avro.Schema$UnionSchema)
   schema (org.apache.avro.Schema$Field)
   fieldMap (org.apache.avro.Schema$RecordSchema)
at 
com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:144)
at 
com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:543)
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:813)
at 
com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:134)
at 
com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:40)
at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:731)
at 
com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)
at 
com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:543)
at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:731)
at 
com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)
at 
com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:543)
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:813)
at 
com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:161)
at 
com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:39)
at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:731)
at 
com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)
at 
com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:543)
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:813)
at 
org.apache.spark.serializer.KryoDeserializationStream.readObject(KryoSerializer.scala:306)
at 
org.apache.spark.broadcast.TorrentBroadcast$.$anonfun$unBlockifyObject$4(TorrentBroadca

[PR] [HUDI-7276] FILE_GROUP_READER_ENABLED should be disable for query [hudi]

2024-01-07 Thread via GitHub


xuzifu666 opened a new pull request, #10455:
URL: https://github.com/apache/hudi/pull/10455

   ### Change Logs
   
   FILE_GROUP_READER_ENABLED should be disable for query
   
   ### Impact
   
   fix bug in query for Hudi 1.0
   
   ### Risk level (write none, low medium or high below)
   
   none
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, 
config, or user-facing change_
   
   - _The config description must be updated if new configs are added or the 
default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. 
Please create a Jira ticket, attach the
 ticket number here and follow the 
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to 
make
 changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org