You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Nam Đỗ Duy <na...@vnpay.vn.INVALID> on 2023/11/13 11:17:34 UTC

Default Hive user/password of docker Kylin 5.0

Dear Team,

I am using scala to connect to Hive after install Kylin docker 5.0, please
kindly tell me the default HIVE user/password to fill to this code:

Thank you very much and best regards

// JDBC URL to connect to Hive
val jdbcURL = "jdbc:hive2://localhost:10000/your_database"

// Hive connection properties
val connectionProperties = new java.util.Properties()
connectionProperties.setProperty("user", "your_username")
connectionProperties.setProperty("password", "your_password")

// JDBC driver name and database URL
val driverName = "org.apache.hive.jdbc.HiveDriver"

Re: Default Hive user/password of docker Kylin 5.0

Posted by Nam Đỗ Duy <na...@vnpay.vn.INVALID>.
Thank you Xiaoxiang,

Do I need to add port 10000 of Hive to the docker run when creating
Container like:

docker run -d -m 8G -p 10000:10000 7070:7070 -p 8088:8088 -p 50070:50070 -p
8032:8032 -p 8042:8042 -p 2181:2181
apachekylin/apache-kylin-standalone:5.0-beta

On Tue, Nov 14, 2023 at 10:00 AM Xiaoxiang Yu <xx...@apache.org> wrote:

>
> https://github.com/apache/kylin/blob/8de5c7a7121dc37729a12ee231041f8d89d1494c/dev-support/release-manager/standalone-docker/all_in_one/entrypoint.sh#L83C48-L83C48
>
> ------------------------
> With warm regard
> Xiaoxiang Yu
>
>
>
> On Mon, Nov 13, 2023 at 7:18 PM Nam Đỗ Duy <na...@vnpay.vn.invalid> wrote:
>
> > Dear Team,
> >
> > I am using scala to connect to Hive after install Kylin docker 5.0,
> please
> > kindly tell me the default HIVE user/password to fill to this code:
> >
> > Thank you very much and best regards
> >
> > // JDBC URL to connect to Hive
> > val jdbcURL = "jdbc:hive2://localhost:10000/your_database"
> >
> > // Hive connection properties
> > val connectionProperties = new java.util.Properties()
> > connectionProperties.setProperty("user", "your_username")
> > connectionProperties.setProperty("password", "your_password")
> >
> > // JDBC driver name and database URL
> > val driverName = "org.apache.hive.jdbc.HiveDriver"
> >
>

Re: Default Hive user/password of docker Kylin 5.0

Posted by Xiaoxiang Yu <xx...@apache.org>.
https://github.com/apache/kylin/blob/8de5c7a7121dc37729a12ee231041f8d89d1494c/dev-support/release-manager/standalone-docker/all_in_one/entrypoint.sh#L83C48-L83C48

------------------------
With warm regard
Xiaoxiang Yu



On Mon, Nov 13, 2023 at 7:18 PM Nam Đỗ Duy <na...@vnpay.vn.invalid> wrote:

> Dear Team,
>
> I am using scala to connect to Hive after install Kylin docker 5.0, please
> kindly tell me the default HIVE user/password to fill to this code:
>
> Thank you very much and best regards
>
> // JDBC URL to connect to Hive
> val jdbcURL = "jdbc:hive2://localhost:10000/your_database"
>
> // Hive connection properties
> val connectionProperties = new java.util.Properties()
> connectionProperties.setProperty("user", "your_username")
> connectionProperties.setProperty("password", "your_password")
>
> // JDBC driver name and database URL
> val driverName = "org.apache.hive.jdbc.HiveDriver"
>