abstractdog commented on PR #6390:
URL: https://github.com/apache/hive/pull/6390#issuecomment-4177162404
> still see HMS schema init in llap logs. also it doesn't go to UP state for
me, but Restarting (0) 14 seconds ago - is that expected?
>
> ```
> + echo 'Initialized Hive Metastore Server schema successfully..'
> + '[' llap == hiveserver2 ']'
> + '[' llap == metastore ']'
> Initialized Hive Metastore Server schema successfully..
> ```
>
> seems that, because of the above, llap is not enabled or i am doing
something wrong
>
> ```
>
----------------------------------------------------------------------------------------------
> 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
> Reducer 3 ...... container SUCCEEDED 1 1 0
0 0 0
>
----------------------------------------------------------------------------------------------
> ```
strange, it should not be, can you confirm that llap container does schema
init after force rebuilding the images, like:
```
export HIVE_VERSION=4.2.0
docker-compose --profile llap down --rmi all
./build.sh -hive ${HIVE_VERSION} -hadoop 3.4.1 -tez 0.10.5
./start-hive.sh --llap
```
I mean, I faced this schema init issue earlier, but it's fixed in the code
now:
```
if [[ "${SKIP_SCHEMA_INIT}" == "false" && ( "${SERVICE_NAME}" ==
"hiveserver2" || "${SERVICE_NAME}" == "metastore" ) ]]; then
# handles schema initialization
initialize_hive
fi
```
`SERVICE_NAME=llap` in case of llap, otherwise it wouldn't start the daemon
itself:
```
elif [ "${SERVICE_NAME}" == "llap" ]; then
run_llap "$@"
fi
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]