Where to see the Application ID for Hive queries


While running the HQLs ,I am not able to see any logs .The final result only showing .Help me out here.


From Hue, you can see the jobs running:

I launched hive using: hive -v
and then executed the following commands:

use sg;
select userid, count(movieid) from u_data group by userid;

I got the following output:

Please note that hive launches Hadoop map-reduce job only for few commands. It doesn’t launch a Hadoop map-reduce job even for select queries without where clauses.

Then, I saw the entire logs using the following command:

yarn logs -applicationId application_1552564637687_16592