[jira] [Commented] (SPARK-27688) Beeline should show database in the prompt
[ https://issues.apache.org/jira/browse/SPARK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16892580#comment-16892580 ] Yuming Wang commented on SPARK-27688: - {code:sh} build/sbt clean package -Phive -Phive-thriftserver -Phadoop-3.2 export SPARK_PREPEND_CLASSES=true sbin/stop-thriftserver.sh {code} {noformat} [root@spark-3267648 apache-spark]# bin/beeline -u jdbc:hive2://localhost:1/default --showDbInPrompt NOTE: SPARK_PREPEND_CLASSES is set, placing locally compiled Spark classes ahead of assembly. log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Connecting to jdbc:hive2://localhost:1/default Connected to: Spark SQL (version 3.0.0-SNAPSHOT) Driver: Hive JDBC (version 2.3.5) Transaction isolation: TRANSACTION_REPEATABLE_READ Beeline version 2.3.5 by Apache Hive 0: jdbc:hive2://localhost:1/default (default)> use db2; +-+ | Result | +-+ +-+ No rows selected (0.168 seconds) 0: jdbc:hive2://localhost:1/default (db2)> 0: jdbc:hive2://localhost:1/default (db2)> use db1; +-+ | Result | +-+ +-+ No rows selected (0.091 seconds) 0: jdbc:hive2://localhost:1/default (db1)> 0: jdbc:hive2://localhost:1/default (db1)> {noformat} > Beeline should show database in the prompt > -- > > Key: SPARK-27688 > URL: https://issues.apache.org/jira/browse/SPARK-27688 > Project: Spark > Issue Type: Sub-task > Components: SQL >Affects Versions: 2.4.3 >Reporter: Sandeep Katta >Priority: Minor > > Since [HIVE-14123|https://issues.apache.org/jira/browse/HIVE-14123] supports > display of database in beeline. Spark should also support this -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-27688) Beeline should show database in the prompt
[ https://issues.apache.org/jira/browse/SPARK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16840916#comment-16840916 ] Hyukjin Kwon commented on SPARK-27688: -- ah, right. I rushed to read. thanks :D. > Beeline should show database in the prompt > -- > > Key: SPARK-27688 > URL: https://issues.apache.org/jira/browse/SPARK-27688 > Project: Spark > Issue Type: Sub-task > Components: SQL >Affects Versions: 2.4.3 >Reporter: Sandeep Katta >Priority: Minor > > Since [HIVE-14123|https://issues.apache.org/jira/browse/HIVE-14123] supports > display of database in beeline. Spark should also support this -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-27688) Beeline should show database in the prompt
[ https://issues.apache.org/jira/browse/SPARK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16840200#comment-16840200 ] Sandeep Katta commented on SPARK-27688: --- [SPARK-27667|https://issues.apache.org/jira/browse/SPARK-27667] is only spark-sql, to support beeline we need to upgrade Hive. So it will be better to handle as a separate jira > Beeline should show database in the prompt > -- > > Key: SPARK-27688 > URL: https://issues.apache.org/jira/browse/SPARK-27688 > Project: Spark > Issue Type: Sub-task > Components: SQL >Affects Versions: 2.4.3 >Reporter: Sandeep Katta >Priority: Minor > > Since [HIVE-14123|https://issues.apache.org/jira/browse/HIVE-14123] supports > display of database in beeline. Spark should also support this -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-27688) Beeline should show database in the prompt
[ https://issues.apache.org/jira/browse/SPARK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16840196#comment-16840196 ] Hyukjin Kwon commented on SPARK-27688: -- [~sandeep.katta2007], is it a duplicate of SPARK-27667? > Beeline should show database in the prompt > -- > > Key: SPARK-27688 > URL: https://issues.apache.org/jira/browse/SPARK-27688 > Project: Spark > Issue Type: Sub-task > Components: SQL >Affects Versions: 2.4.3 >Reporter: Sandeep Katta >Priority: Minor > > Since [HIVE-14123|https://issues.apache.org/jira/browse/HIVE-14123] supports > display of database in beeline. Spark should also support this -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-27688) Beeline should show database in the prompt
[ https://issues.apache.org/jira/browse/SPARK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16838501#comment-16838501 ] Sandeep Katta commented on SPARK-27688: --- okay will work on your fork and raise PR to your fork > Beeline should show database in the prompt > -- > > Key: SPARK-27688 > URL: https://issues.apache.org/jira/browse/SPARK-27688 > Project: Spark > Issue Type: Sub-task > Components: SQL >Affects Versions: 2.4.3 >Reporter: Sandeep Katta >Priority: Minor > > Since [HIVE-14123|https://issues.apache.org/jira/browse/HIVE-14123] supports > display of database in beeline. Spark should also support this -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-27688) Beeline should show database in the prompt
[ https://issues.apache.org/jira/browse/SPARK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16838499#comment-16838499 ] Yuming Wang commented on SPARK-27688: - Sorry [~sandeep.katta2007]. We do not need do any changes once uprade the built-in Hive to 2.3. You could test it here: [https://github.com/wangyum/spark/tree/hadoop-3.1-on-jenkins] > Beeline should show database in the prompt > -- > > Key: SPARK-27688 > URL: https://issues.apache.org/jira/browse/SPARK-27688 > Project: Spark > Issue Type: Sub-task > Components: SQL >Affects Versions: 2.4.3 >Reporter: Sandeep Katta >Priority: Minor > > Since [HIVE-14123|https://issues.apache.org/jira/browse/HIVE-14123] supports > display of database in beeline. Spark should also support this -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-27688) Beeline should show database in the prompt
[ https://issues.apache.org/jira/browse/SPARK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16838460#comment-16838460 ] Sandeep Katta commented on SPARK-27688: --- I will be working on this and raise PR soon > Beeline should show database in the prompt > -- > > Key: SPARK-27688 > URL: https://issues.apache.org/jira/browse/SPARK-27688 > Project: Spark > Issue Type: Sub-task > Components: SQL >Affects Versions: 2.4.3 >Reporter: Sandeep Katta >Priority: Minor > > Since [HIVE-14123|https://issues.apache.org/jira/browse/HIVE-14123] supports > display of database in beeline. Spark should also support this -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org