[GitHub] [spark] Yikf commented on pull request #40064: [SPARK-42478] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

2023-03-05 Thread via GitHub


Yikf commented on PR #40064:
URL: https://github.com/apache/spark/pull/40064#issuecomment-1455364691

   > @Yikf can you help to open a backport PR for 3.2/3.3? Thanks!
   
   Sure


-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] Yikf commented on pull request #40064: [SPARK-42478] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

2023-02-23 Thread via GitHub


Yikf commented on PR #40064:
URL: https://github.com/apache/spark/pull/40064#issuecomment-1441378610

   @mridulm Nice suggestion, and we can simplify to as follow since `int id` is 
unique.
   
   ```scala
 private[this] val jobTrackerID = 
SparkHadoopWriterUtils.createJobTrackerID(new Date)
 @transient private lazy val jobId = new JobID(jobTrackerID, 0)
   ```


-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] Yikf commented on pull request #40064: [SPARK-42478] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

2023-02-22 Thread via GitHub


Yikf commented on PR #40064:
URL: https://github.com/apache/spark/pull/40064#issuecomment-1441179787

   @mridulm Thanks your review, this is a nice question for me, `JobId` maybe 
is different when each time the class is deserialized.
   
   How about this idea that `SparkHadoopWriterUtils.createJobTrackerID` to 
generate an ID for a job tracker, and the job tracker is unique, JobId is 
constructed using a unique tackerid when the class is deserialized.


-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] Yikf commented on pull request #40064: [SPARK-42478] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

2023-02-22 Thread via GitHub


Yikf commented on PR #40064:
URL: https://github.com/apache/spark/pull/40064#issuecomment-1441134396

   kindly ping @cloud-fan , @boneanxs Any suggestions?


-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] Yikf commented on pull request #40064: [SPARK-42478] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

2023-02-20 Thread via GitHub


Yikf commented on PR #40064:
URL: https://github.com/apache/spark/pull/40064#issuecomment-1437928464

   updated, verified w/ kyuubi on spark 3.3.2 and all tests passed
   ```
   build/mvn clean test -pl :kyuubi-spark-connector-hive_2.12 -am -Pspark-3.3 
-Dspark.version=3.3.2
   ```


-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] Yikf commented on pull request #40064: [SPARK-42478] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

2023-02-20 Thread via GitHub


Yikf commented on PR #40064:
URL: https://github.com/apache/spark/pull/40064#issuecomment-1437856558

   @cloud-fan This case is the error that Apache kyuubi encountered when 
upgrading from spark 3.3.1 to 3.3.2, can see this 
[link](https://github.com/apache/kyuubi/actions/runs/4192366930/jobs/7268919556#step:6:2611)
 to find the error stacktrace.


-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] Yikf commented on pull request #40064: [SPARK-42478] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

2023-02-17 Thread via GitHub


Yikf commented on PR #40064:
URL: https://github.com/apache/spark/pull/40064#issuecomment-1434549249

   @cloud-fan @boneanxs could you please take a look if you find a time?


-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org