simhadri-g commented on code in PR #4614: URL: https://github.com/apache/hive/pull/4614#discussion_r1304132354
########## .github/workflows/docker-GA-images.yml: ########## @@ -0,0 +1,59 @@ +name: Build and Publish docker images for Hive GA + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + + - + name: 'Set up JDK 8' + uses: actions/setup-java@v1 Review Comment: Hi , I just verified on M2 mac: ``` >>>docker pull simhadri064/hive:4.0.0-beta-1-snapshot >>>docker images REPOSITORY TAG IMAGE ID CREATED SIZE simhadri064/hive 4.0.0-beta-1-snapshot eaf428cf8e2c 36 hours ago 1.43GB` >>>export HIVE_VERSION=4.0.0-beta-1-snapshot >>>docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hive4 simhadri064/hive:${HIVE_VERSION} 8bafa42f8724b09cb9487a218c9619cd27811033e376d611f5e13134c92a81e0 >>> ``` Running queries via beeline ``` beeline> !connect jdbc:hive2://localhost:10000/;` 0: jdbc:hive2://localhost:10000/> create table hive_example(a string, b int) partitioned by(c int); INFO : Compiling command(queryId=hive_20230824102827_11655e00-6df2-4f5e-8852-87730b221bb1): create table hive_example(a string, b int) partitioned by(c int) INFO : Semantic Analysis Completed (retrial = false) INFO : Created Hive schema: Schema(fieldSchemas:null, properties:null) INFO : Completed compiling command(queryId=hive_20230824102827_11655e00-6df2-4f5e-8852-87730b221bb1); Time taken: 0.023 seconds INFO : Concurrency mode is disabled, not creating a lock manager INFO : Executing command(queryId=hive_20230824102827_11655e00-6df2-4f5e-8852-87730b221bb1): create table hive_example(a string, b int) partitioned by(c int) INFO : Starting task [Stage-0:DDL] in serial mode INFO : Completed executing command(queryId=hive_20230824102827_11655e00-6df2-4f5e-8852-87730b221bb1); Time taken: 0.214 seconds No rows affected (0.251 seconds) 0: jdbc:hive2://localhost:10000/> insert into hive_example partition(c=1) values('a', 1), ('a', 2),('b',3); INFO : Compiling command(queryId=hive_20230824102836_75b77203-9b31-4b35-9627-fb9b6df20313): insert into hive_example partition(c=1) values('a', 1), ('a', 2),('b',3) INFO : Semantic Analysis Completed (retrial = false) INFO : Created Hive schema: Schema(fieldSchemas:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:col2, type:int, comment:null)], properties:null) INFO : Completed compiling command(queryId=hive_20230824102836_75b77203-9b31-4b35-9627-fb9b6df20313); Time taken: 1.033 seconds INFO : Concurrency mode is disabled, not creating a lock manager INFO : Executing command(queryId=hive_20230824102836_75b77203-9b31-4b35-9627-fb9b6df20313): insert into hive_example partition(c=1) values('a', 1), ('a', 2),('b',3) INFO : Query ID = hive_20230824102836_75b77203-9b31-4b35-9627-fb9b6df20313 INFO : Total jobs = 1 INFO : Launching Job 1 out of 1 INFO : Starting task [Stage-1:MAPRED] in serial mode INFO : Subscribed to counters: [] for queryId: hive_20230824102836_75b77203-9b31-4b35-9627-fb9b6df20313 INFO : Tez session hasn't been created yet. Opening session INFO : Dag name: insert into hive_exam...... ('a', 2),('b',3) (Stage-1) INFO : HS2 Host: [8bafa42f8724], Query ID: [hive_20230824102836_75b77203-9b31-4b35-9627-fb9b6df20313], Dag ID: [dag_1692872917513_0001_1], DAG Session ID: [application_1692872917513_0001] INFO : Status: Running (Executing on YARN cluster with App id application_1692872917513_0001) ---------------------------------------------------------------------------------------------- VERTICES MODE STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED ---------------------------------------------------------------------------------------------- Map 1 .......... container SUCCEEDED 1 1 0 0 0 0 Reducer 2 ...... container SUCCEEDED 1 1 0 0 0 0 ---------------------------------------------------------------------------------------------- VERTICES: 02/02 [==========================>>] 100% ELAPSED TIME: 0.91 s ---------------------------------------------------------------------------------------------- INFO : Starting task [Stage-2:DEPENDENCY_COLLECTION] in serial mode INFO : Starting task [Stage-0:MOVE] in serial mode INFO : Loading data to table default.hive_example partition (c=1) from file:/opt/hive/data/warehouse/hive_example/c=1/.hive-staging_hive_2023-08-24_10-28-36_073_5938108838462584033-1/-ext-10000 INFO : Starting task [Stage-3:STATS] in serial mode INFO : Executing stats task INFO : Partition {c=1} stats: [numFiles=1, numRows=3, totalSize=12, rawDataSize=9, numFilesErasureCoded=0] INFO : Completed executing command(queryId=hive_20230824102836_75b77203-9b31-4b35-9627-fb9b6df20313); Time taken: 2.038 seconds 3 rows affected (3.118 seconds) 0: jdbc:hive2://localhost:10000/> 0: jdbc:hive2://localhost:10000/> 0: jdbc:hive2://localhost:10000/> select count(distinct a) from hive_example; INFO : Compiling command(queryId=hive_20230824102847_73f39ec5-11fd-4379-a206-a528f884ed56): select count(distinct a) from hive_example INFO : Semantic Analysis Completed (retrial = false) INFO : Created Hive schema: Schema(fieldSchemas:[FieldSchema(name:_c0, type:bigint, comment:null)], properties:null) INFO : Completed compiling command(queryId=hive_20230824102847_73f39ec5-11fd-4379-a206-a528f884ed56); Time taken: 0.2 seconds INFO : Concurrency mode is disabled, not creating a lock manager INFO : Executing command(queryId=hive_20230824102847_73f39ec5-11fd-4379-a206-a528f884ed56): select count(distinct a) from hive_example INFO : Query ID = hive_20230824102847_73f39ec5-11fd-4379-a206-a528f884ed56 INFO : Total jobs = 1 INFO : Launching Job 1 out of 1 INFO : Starting task [Stage-1:MAPRED] in serial mode INFO : Subscribed to counters: [] for queryId: hive_20230824102847_73f39ec5-11fd-4379-a206-a528f884ed56 INFO : Session is already open INFO : Dag name: select count(distinct a) from hive_example (Stage-1) INFO : HS2 Host: [8bafa42f8724], Query ID: [hive_20230824102847_73f39ec5-11fd-4379-a206-a528f884ed56], Dag ID: [dag_1692872917513_0001_2], DAG Session ID: [application_1692872917513_0001] INFO : Status: Running (Executing on YARN cluster with App id application_1692872917513_0001) INFO : Completed executing command(queryId=hive_20230824102847_73f39ec5-11fd-4379-a206-a528f884ed56); Time taken: 0.587 seconds +------+ | _c0 | +------+ | 2 | +------+ 1 row selected (0.832 seconds) 0: jdbc:hive2://localhost:10000/> ``` -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org