Hi Angus,
I am also getting the same error and I tried the solution that you gave but I am still getting the same error. I also tried to do the apt-get install hive-hcatalog from the google cloud shell and i was getting the error as "Unable to locate package hive-hcatalog".
I am running the pig script using gcloud, so when i am running the pig with "-useHCatalog" argument, I am getting the following error "ERROR: (gcloud.beta.dataproc.jobs.submit.pig) unrecognized arguments: -useHCatalog".
So i ran it without "-useHCatalog", i hope the error i am getting is not because of this.
Can you please help me with it ?
Vivek