[GitHub] spark pull request #16955: [SPARK-19626]update cred using spark.yarn.credent...

2017-02-16 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/16955 [SPARK-19626]update cred using spark.yarn.credentials.updateTime ## What changes were proposed in this pull request? update cred using spark.yarn.credentials.updateTime ## How

[GitHub] spark pull request #16955: [SPARK-19626]update cred using spark.yarn.credent...

2017-02-16 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/16955#discussion_r101491787 --- Diff: resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/security/CredentialUpdater.scala --- @@ -55,14 +55,10 @@ private[spark

[GitHub] spark issue #16955: [SPARK-19626]update cred using spark.yarn.credentials.up...

2017-02-16 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/16955 cc again @jerryshao --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes

[GitHub] spark issue #16955: [SPARK-19626][YARN]Using the correct config to set crede...

2017-02-16 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/16955 @srowen @jerryshao Thanks for your comments. I have added some descriptions both in the JIRA and here, please check whether OK or not. --- If your project is set up for it, you can reply to this

[GitHub] spark issue #16955: [SPARK-19626][YARN]Using the correct config to set crede...

2017-02-17 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/16955 ping @srowen, would you plz verify this patch again? thanks. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark issue #16955: [SPARK-19626][YARN]Using the correct config to set crede...

2017-02-20 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/16955 @vanzin Thanks, all tests passed --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] spark pull request #16445: [SPARK-19043][SQL]Make SparkSQLSessionManager mor...

2016-12-31 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/16445 [SPARK-19043][SQL]Make SparkSQLSessionManager more configurable ## What changes were proposed in this pull request? To make SparkSQLSessionManager's background operation thread

[GitHub] spark issue #16445: [SPARK-19043][SQL]Make SparkSQLSessionManager more confi...

2017-01-03 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/16445 ping @srowen would you plz take a look at this pr? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] spark pull request #17333: [SPARK-19997] [SQL]fix proxy ugi could not get tg...

2017-03-17 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/17333 [SPARK-19997] [SQL]fix proxy ugi could not get tgt to cause metastore connecting problem ## What changes were proposed in this pull request? Pass the real user ugi instead of proxy ugi

[GitHub] spark issue #17333: [SPARK-19997] [SQL]fix proxy ugi could not get tgt to ca...

2017-03-17 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17333 ping @vanzin , can you take a look at this --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] spark issue #17333: [SPARK-19997] [SQL]fix proxy ugi could not get tgt to ca...

2017-03-17 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17333 @jerryshao 😂 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or

[GitHub] spark issue #17335: [SPARK-19995][Hive][Yarn] Using real user to initialize ...

2017-03-20 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17335 The dbs and tbls may be created on hdfs via the real user,so that the proxy user may have no rights to things such as: ``` Error: java.lang.RuntimeException: Cannot create staging

[GitHub] spark issue #17335: [SPARK-19995][Hive][Yarn] Using real user to initialize ...

2017-03-21 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17335 with this creds provided by HiveCredentialProvider and configured by `hive.metastore.kerberos.principal`, do we need to re-login with `spark.yarn.principal` aiming to connect metastore

[GitHub] spark issue #17335: [SPARK-19995][Hive][Yarn] Using real user to initialize ...

2017-03-21 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17335 I have tested this with my kerberized hdfs and it works for me. LGTM, thanks. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] spark issue #17333: [SPARK-19997] [SQL]fix proxy ugi could not get tgt to ca...

2017-03-21 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17333 see #17335 for more details, duplicated & closed --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] spark pull request #17333: [SPARK-19997] [SQL]fix proxy ugi could not get tg...

2017-03-21 Thread yaooqinn
Github user yaooqinn closed the pull request at: https://github.com/apache/spark/pull/17333 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] spark pull request #17387: [SPARK-20060][Deploy][Kerberos][Spark Shell] Obta...

2017-03-22 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/17387 [SPARK-20060][Deploy][Kerberos][Spark Shell] Obtain credentials for proxy user before talking to hive metastore ## What changes were proposed in this pull request? For **Spark on non

[GitHub] spark issue #17387: [SPARK-20060][Deploy][Kerberos][Spark Shell] Obtain cred...

2017-03-22 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17387 @jerryshao This may also fix issue SPARK-19995 and SPARK-19997 on yarn with those apps which take `SparkSQLCLIDriver.main` as entrance, plz take a look. @vanzin @tgravescs @mridulm @dongjoon

[GitHub] spark issue #17387: [SPARK-20060][Deploy][Kerberos][Spark Shell] Obtain cred...

2017-03-23 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17387 yes,this seem only fix the local mode,in standalone mode it still got problems of hdfs token lost @tgravescs @jerryshao . --- If your project is set up for it, you can reply to this email

[GitHub] spark issue #17335: [SPARK-19995][Hive][Yarn] Using real user to initialize ...

2017-03-23 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17335 https://issues.apache.org/jira/browse/SPARK-15754 will this patch cause this problem? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] spark issue #17335: [SPARK-19995][Hive][Yarn] Using real user to initialize ...

2017-03-23 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17335 @subrotosanyal would you please help to describe https://github.com/apache/spark/pull/13499 in detail?Thanks --- If your project is set up for it, you can reply to this email and have your

[GitHub] spark pull request #17430: [SPARK-20096][Spark Submit][Minor]Expose the righ...

2017-03-25 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/17430 [SPARK-20096][Spark Submit][Minor]Expose the right queue name not null if set by --conf or configure file ## What changes were proposed in this pull request? while submit apps with -v

[GitHub] spark issue #17430: [SPARK-20096][Spark Submit][Minor]Expose the right queue...

2017-03-25 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17430 @srowen could please help me to verify this pr? thank you. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not

[GitHub] spark pull request #17430: [SPARK-20096][Spark Submit][Minor]Expose the righ...

2017-03-25 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/17430#discussion_r108051067 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala --- @@ -307,7 +308,7 @@ private[deploy] class SparkSubmitArguments(args

[GitHub] spark pull request #17430: [SPARK-20096][Spark Submit][Minor]Expose the righ...

2017-03-25 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/17430#discussion_r108051074 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala --- @@ -190,6 +190,7 @@ private[deploy] class SparkSubmitArguments(args

[GitHub] spark pull request #17430: [SPARK-20096][Spark Submit][Minor]Expose the righ...

2017-03-26 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/17430#discussion_r108055529 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala --- @@ -190,6 +190,7 @@ private[deploy] class SparkSubmitArguments(args

[GitHub] spark pull request #17430: [SPARK-20096][Spark Submit][Minor]Expose the righ...

2017-03-26 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/17430#discussion_r108061061 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala --- @@ -190,6 +190,7 @@ private[deploy] class SparkSubmitArguments(args

[GitHub] spark issue #17387: WIP[SPARK-20060][Deploy][Kerberos]Support Standalone vis...

2017-03-26 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17387 cc @tgravescs, tested with a secured HDFS with standalone and works fine. And this pr has a lot of yarn specified security arguments to rename. cc @jerryshao plz take a look. --- If

[GitHub] spark pull request #17430: [SPARK-20096][Spark Submit][Minor]Expose the righ...

2017-03-26 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/17430#discussion_r108094996 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala --- @@ -190,6 +190,7 @@ private[deploy] class SparkSubmitArguments(args

[GitHub] spark issue #17430: [SPARK-20096][Spark Submit][Minor]Expose the right queue...

2017-03-26 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17430 ok to test. if i am in whitelist... --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark issue #17430: [SPARK-20096][Spark Submit][Minor]Expose the right queue...

2017-03-27 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/17430 ping @felixcheung, would you please take a look again? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] spark pull request #17430: [SPARK-20096][Spark Submit][Minor]Expose the righ...

2017-03-29 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/17430#discussion_r108616336 --- Diff: core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala --- @@ -148,6 +148,17 @@ class SparkSubmitSuite appArgs.childArgs

[GitHub] spark issue #11045: [SPARK-8321][SQL][WIP] Authorization Support(on all oper...

2016-12-08 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/11045 Hi @winningsix, I am interesting in your idea, and i am confusing about the field `userName` used in your code, 1)where is it be initialized? 2) is it used for privilege checking? --- If your

[GitHub] spark issue #11045: [SPARK-8321][SQL][WIP] Authorization Support(on all oper...

2016-12-08 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/11045 @winningsix Glad to hear from you. And we can only use this through Spark ThriftServer, right? --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] spark pull request: [SPARK-11583][Scheduler][Core] Make MapStatus ...

2015-11-09 Thread yaooqinn
Github user yaooqinn commented on the pull request: https://github.com/apache/spark/pull/9559#issuecomment-155252219 @rxin OpenHashSet replace HashSet --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-11583][Scheduler][Core] Make MapStatus ...

2015-11-09 Thread yaooqinn
Github user yaooqinn commented on the pull request: https://github.com/apache/spark/pull/9559#issuecomment-155252403 @andrewor14 Thanks for your advices --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-12 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/9661 [SPARK-11583] [Core]MapStatus Using RoaringBitmap More Properly 1. test cases 1.1 sparse case: for each task 10 blocks contains data, others dont sc.makeRDD(1 to 40950, 4095).groupBy(x=&g

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-12 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/9661#discussion_r44745422 --- Diff: core/src/main/scala/org/apache/spark/scheduler/MapStatus.scala --- @@ -154,15 +155,17 @@ private[spark] class HighlyCompressedMapStatus private

[GitHub] spark pull request: [SPARK-11583][Scheduler][Core] Make MapStatus ...

2015-11-12 Thread yaooqinn
Github user yaooqinn closed the pull request at: https://github.com/apache/spark/pull/9559 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] spark pull request: [SPARK-11583][Scheduler][Core] Make MapStatus ...

2015-11-12 Thread yaooqinn
Github user yaooqinn commented on the pull request: https://github.com/apache/spark/pull/9559#issuecomment-156309802 OK, close this pr and see #9661 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-12 Thread yaooqinn
Github user yaooqinn commented on the pull request: https://github.com/apache/spark/pull/9661#issuecomment-156327126 ## test cases sparse case: 4085 empty ---*S* ```scala sc.makeRDD(1 to 40950, 4095).groupBy(x=>x).top(5) ``` dense case: 95 empty

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-12 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/9661#discussion_r44751632 --- Diff: core/src/main/scala/org/apache/spark/scheduler/MapStatus.scala --- @@ -154,15 +155,17 @@ private[spark] class HighlyCompressedMapStatus private

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-13 Thread yaooqinn
Github user yaooqinn commented on the pull request: https://github.com/apache/spark/pull/9661#issuecomment-156359312 For my questions in my last comment ### continuous ```scala scala> import org.roaringbitmap._ import org.roaringbitmap._ scala> val r

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-13 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/9661#discussion_r44759326 --- Diff: core/src/main/scala/org/apache/spark/scheduler/MapStatus.scala --- @@ -154,15 +155,17 @@ private[spark] class HighlyCompressedMapStatus private

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-16 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/9661#discussion_r45007852 --- Diff: core/src/main/scala/org/apache/spark/serializer/KryoSerializer.scala --- @@ -21,24 +21,24 @@ import java.io.{EOFException, IOException

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-16 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/9661#discussion_r45007872 --- Diff: core/src/main/scala/org/apache/spark/scheduler/MapStatus.scala --- @@ -173,18 +172,15 @@ private[spark] object HighlyCompressedMapStatus

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-16 Thread yaooqinn
Github user yaooqinn commented on the pull request: https://github.com/apache/spark/pull/9661#issuecomment-157253352 $ git push https://github.com/yaooqinn/spark.git mapstatus-roaring:test Counting objects: 5581, done. Delta compression using up to 4 threads. Compressing

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-16 Thread yaooqinn
Github user yaooqinn commented on the pull request: https://github.com/apache/spark/pull/9661#issuecomment-157300997 @davies thanks. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] spark pull request: [SPARK-11583] [Core]MapStatus Using RoaringBit...

2015-11-17 Thread yaooqinn
Github user yaooqinn closed the pull request at: https://github.com/apache/spark/pull/9661 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] spark pull request #20145: [SPARK-22950]Handle ChildFirstURLClassLoader's pa...

2018-01-03 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/20145 [SPARK-22950]Handle ChildFirstURLClassLoader's parent ## What changes were proposed in this pull request? ChildFirstClassLoader's parent is set to null, so we can't get

[GitHub] spark pull request #20145: [SPARK-22950][SQL]Handle ChildFirstURLClassLoader...

2018-01-03 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/20145#discussion_r159585110 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveUtilsSuite.scala --- @@ -42,4 +47,29 @@ class HiveUtilsSuite extends QueryTest with

[GitHub] spark pull request #20145: [SPARK-22950][SQL]Handle ChildFirstURLClassLoader...

2018-01-03 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/20145#discussion_r159585279 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveUtilsSuite.scala --- @@ -42,4 +47,29 @@ class HiveUtilsSuite extends QueryTest with

[GitHub] spark pull request #20145: [SPARK-22950][SQL]Handle ChildFirstURLClassLoader...

2018-01-03 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/20145#discussion_r159587396 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveUtilsSuite.scala --- @@ -42,4 +47,41 @@ class HiveUtilsSuite extends QueryTest with

[GitHub] spark issue #20145: [SPARK-22950][SQL]Handle ChildFirstURLClassLoader's pare...

2018-01-04 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20145 retest this please --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews

[GitHub] spark pull request #21290: [SPARK-24241][Submit]Do not fail fast when dynami...

2018-05-10 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/21290 [SPARK-24241][Submit]Do not fail fast when dynamic resource allocation enabled with 0 executor ## What changes were proposed in this pull request? ``` ~/spark-2.3.0-bin-hadoop2.7$ bin

[GitHub] spark issue #21290: [SPARK-24241][Submit]Do not fail fast when dynamic resou...

2018-05-10 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/21290 cc @srowen The last code change seems tp be related to you, plz help to review, thanks --- - To unsubscribe, e-mail

[GitHub] spark pull request #21290: [SPARK-24241][Submit]Do not fail fast when dynami...

2018-05-14 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/21290#discussion_r187851318 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala --- @@ -76,6 +75,7 @@ private[deploy] class SparkSubmitArguments(args

[GitHub] spark issue #19840: [SPARK-22640][PYSPARK][YARN]switch python exec on execut...

2018-05-14 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/19840 @vanzin I am not very familiar with python part [context.py#L191](https://github.com/yaooqinn/spark/blob/8ff5663fe9a32eae79c8ee6bc310409170a8da64/python/pyspark/context.py#L191), so handle it at

[GitHub] spark issue #18666: [SPARK-21449][SQL][Hive]Close HiveClient's SessionState ...

2018-03-19 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/18666 @samartinucci thanks for reminding of this, i have fixed the conflicts. --- - To unsubscribe, e-mail: reviews-unsubscr

[GitHub] spark issue #18666: [SPARK-21449][SQL][Hive]Close HiveClient's SessionState ...

2018-03-19 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/18666 @gatorsmile would you plz take a look at this. this pr mainly want to close HiveSessionState explicitly to delete `hive.downloaded.resources.dir` which points to `"${system:java.io.t

[GitHub] spark issue #18666: [SPARK-21449][SQL][Hive]Close HiveClient's SessionState ...

2018-03-19 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/18666 retest this please --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews

[GitHub] spark issue #18666: [SPARK-21449][SQL][Hive]Close HiveClient's SessionState ...

2018-03-20 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/18666 @liufengdb its necessary to create these for `add jar` cmd --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark issue #18666: [SPARK-21449][SQL][Hive]Close HiveClient's SessionState ...

2018-03-21 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/18666 @liufengdb yes you are right. what's more, the Hive's `SessionState` is too overstaffed for spark to create an hive client, we may only need an `IMetaS

[GitHub] spark issue #20898: [SPARK-23789][SQL] Shouldn't set hive.metastore.uris bef...

2018-03-24 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20898 proxy or not, i only find such an issue with proxy https://github.com/apache/spark/pull/20784 --- - To unsubscribe, e-mail

[GitHub] spark pull request #20784: [SPARK-23639][SQL]Obtain token before init metast...

2018-03-26 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/20784#discussion_r177288126 --- Diff: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala --- @@ -121,6 +134,25 @@ private[hive

[GitHub] spark issue #20784: [SPARK-23639][SQL]Obtain token before init metastore cli...

2018-03-26 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20784 retest this please --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews

[GitHub] spark issue #20784: [SPARK-23639][SQL]Obtain token before init metastore cli...

2018-03-27 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20784 retest this please --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews

[GitHub] spark pull request #20784: [SPARK-23639][SQL]Obtain token before init metast...

2018-03-27 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/20784#discussion_r177610190 --- Diff: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala --- @@ -121,6 +123,11 @@ private[hive

[GitHub] spark pull request #20784: [SPARK-23639][SQL]Obtain token before init metast...

2018-03-27 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/20784#discussion_r177610275 --- Diff: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala --- @@ -121,6 +123,11 @@ private[hive

[GitHub] spark issue #18983: [SPARK-21771][SQL]remove useless hive client in SparkSQL...

2018-01-18 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/18983 besides, redirecting output here only is needed when there is an instance of a CliSessionState, otherwise, it will be done during the SessionState initializing in HiveClientImpl

[GitHub] spark pull request #20422: [SPARK-23253][Core][Shuffle]Only write shuffle te...

2018-01-29 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/20422 [SPARK-23253][Core][Shuffle]Only write shuffle temporary index file when there is not an existing one ## What changes were proposed in this pull request? Shuffle Index temporay file

[GitHub] spark issue #20422: [SPARK-23253][Core][Shuffle]Only write shuffle temporary...

2018-01-29 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20422 thanks guys for reviewing. yes, this is just a minor improvement which I guess code here seem not very logical when I was trying to do some optimizations for my customer's heavy shuffle cas

[GitHub] spark issue #20422: [SPARK-23253][Core][Shuffle]Only write shuffle temporary...

2018-01-30 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20422 retest this please --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews

[GitHub] spark issue #20422: [SPARK-23253][Core][Shuffle]Only write shuffle temporary...

2018-01-30 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20422 @squito add a test for index file. plz check it again, thanks. --- - To unsubscribe, e-mail: reviews-unsubscr

[GitHub] spark pull request #20469: [SPARK-23295][Build][Minor]Exclude Waring message...

2018-01-31 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/20469 [SPARK-23295][Build][Minor]Exclude Waring message when generating versions in make-distribution.sh ## What changes were proposed in this pull request? When we specified a wrong profile

[GitHub] spark pull request #20571: [SPARK-23383][Build][Minor]Make a distribution sh...

2018-02-10 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/20571 [SPARK-23383][Build][Minor]Make a distribution should exit with usage while detecting wrong options ## What changes were proposed in this pull request? ```shell ./dev/make-distribution.sh

[GitHub] spark pull request #20571: [SPARK-23383][Build][Minor]Make a distribution sh...

2018-02-11 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/20571#discussion_r167440294 --- Diff: dev/make-distribution.sh --- @@ -72,8 +76,15 @@ while (( "$#" )); do --help) exit_

[GitHub] spark issue #20571: [SPARK-23383][Build][Minor]Make a distribution should ex...

2018-02-18 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20571 sorry for not replying in time. the logic here is that firstly unrecognized - -options show warning message and usage information,secondly the - options end the while loop and treat the current

[GitHub] spark issue #20571: [SPARK-23383][Build][Minor]Make a distribution should ex...

2018-02-18 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20571 OK, i will push a commit very soon --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands

[GitHub] spark issue #20571: [SPARK-23383][Build][Minor]Make a distribution should ex...

2018-02-19 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20571 yes, single dash means the coming ones are all maven options,they will be handled later by mvn command. we do not parse each single option in this while loop from then till now

[GitHub] spark pull request #20784: [SPARK-23639][SQL]Obtain token before init metast...

2018-03-09 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/20784 [SPARK-23639][SQL]Obtain token before init metastore client in SparkSQL CLI ## What changes were proposed in this pull request? In SparkSQLCLI, SessionState generates before SparkContext

[GitHub] spark issue #20784: [SPARK-23639][SQL]Obtain token before init metastore cli...

2018-03-09 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20784 cc @cloud-fan --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h

[GitHub] spark issue #20784: [SPARK-23639][SQL]Obtain token before init metastore cli...

2018-03-09 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/20784 yarn @vanzin --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h

[GitHub] spark pull request #22180: [SPARK-25174][YARN]Limit the size of diagnostic m...

2018-08-21 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/22180 [SPARK-25174][YARN]Limit the size of diagnostic message for am to unregister itself from rm ## What changes were proposed in this pull request? When using older versions of spark

[GitHub] spark issue #22180: [SPARK-25174][YARN]Limit the size of diagnostic message ...

2018-08-21 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/22180 cc @gatorsmile @vanzin --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail

[GitHub] spark pull request #22180: [SPARK-25174][YARN]Limit the size of diagnostic m...

2018-08-22 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/22180#discussion_r212161599 --- Diff: resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala --- @@ -368,7 +369,11 @@ private[spark] class

[GitHub] spark pull request #18648: [SPARK-21428] Set IsolatedClientLoader off while ...

2017-07-16 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/18648 [SPARK-21428] Set IsolatedClientLoader off while using builtin Hive jars for reusing CliSessionState ## What changes were proposed in this pull request? Set isolated to false while using

[GitHub] spark pull request #18666: [SPARK-21449][SQL][Hive]Close HiveClient's Sessio...

2017-07-17 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/18666 [SPARK-21449][SQL][Hive]Close HiveClient's SessionState to delete residual dirs ## What changes were proposed in this pull request? When sparkSession.stop() is called, clos

[GitHub] spark pull request #18668: [SPARK-21451][SQL]get `spark.hadoop.*` properties...

2017-07-17 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/18668 [SPARK-21451][SQL]get `spark.hadoop.*` properties from sysProps to hiveconf ## What changes were proposed in this pull request? get `spark.hadoop.*` properties from sysProps to

[GitHub] spark issue #18668: [SPARK-21451][SQL]get `spark.hadoop.*` properties from s...

2017-07-18 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/18668 ping @cloud-fan @gatorsmile --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and

[GitHub] spark pull request #18668: [SPARK-21451][SQL]get `spark.hadoop.*` properties...

2017-07-19 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/18668#discussion_r128170401 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala --- @@ -404,6 +404,13 @@ private[spark] object HiveUtils extends Logging

[GitHub] spark pull request #18668: [SPARK-21451][SQL]get `spark.hadoop.*` properties...

2017-07-19 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/18668#discussion_r128186557 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala --- @@ -404,6 +404,13 @@ private[spark] object HiveUtils extends Logging

[GitHub] spark pull request #15071: [SPARK-17517][SQL]Improve generated Code for Broa...

2018-07-23 Thread yaooqinn
Github user yaooqinn closed the pull request at: https://github.com/apache/spark/pull/15071 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark pull request #15071: [WIP][SPARK-17517][SQL]Improve generated Code for...

2016-09-12 Thread yaooqinn
GitHub user yaooqinn opened a pull request: https://github.com/apache/spark/pull/15071 [WIP][SPARK-17517][SQL]Improve generated Code for BroadcastHashJoinExec ## What changes were proposed in this pull request? For current `BroadcastHashJoinExec`, we generate join code for

[GitHub] spark issue #15071: [WIP][SPARK-17517][SQL]Improve generated Code for Broadc...

2016-09-13 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/15071 @hvanhovell For current `BroadcastHashJoinExec`, we generate join code for key is not unique like this: ``` while (matches.hasnext) { matched = matches.next

[GitHub] spark issue #15071: [WIP][SPARK-17517][SQL]Improve generated Code for Broadc...

2016-09-13 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/15071 @hvanhovell thanks very much for your suggestions. I have added my comments to the description, and I will run benchmark later to see if it works --- If your project is set up for it, you can

[GitHub] spark issue #15071: [SPARK-17517][SQL]Improve generated Code for BroadcastHa...

2016-09-19 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/15071 @hvanhovell I have added a benchmark test for this, could you please help me to review? thanks. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] spark pull request #15071: [SPARK-17517][SQL]Improve generated Code for Broa...

2016-09-20 Thread yaooqinn
Github user yaooqinn commented on a diff in the pull request: https://github.com/apache/spark/pull/15071#discussion_r79637407 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/benchmark/BroadcastHashJoinBenchmark.scala --- @@ -0,0 +1,84 @@ +/* + * Licensed

[GitHub] spark issue #15071: [SPARK-17517][SQL]Improve generated Code for BroadcastHa...

2016-09-21 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/15071 ping @hvanhovell --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] spark issue #15071: [SPARK-17517][SQL]Improve generated Code for BroadcastHa...

2016-09-21 Thread yaooqinn
Github user yaooqinn commented on the issue: https://github.com/apache/spark/pull/15071 @hvanhovell I think unfixed length fields may lead to memory overlapping when ```BuildLeft```, since we are reusing the ```BufferHolder``` to avoid writing the stream side repeatedly. In this

  1   2   3   >