Translate

Thursday 1 April 2021

Shahed

GCP Dataproc HDFS Error on Creation of Cluster

Google Dataproc HDFS Error when spinning up a cluster



Error You will Encounter

On creation of Google Dataproc Cluster - You will get the following error this can be due
to a bad character in a username in SSH configuration for the Dataproc Project. 
activate-component-hdfs[2799]: + exit_code=1
activate-component-hdfs[2799]: + [[ 1 -ne 0 ]]
activate-component-hdfs[2799]: + echo 1
activate-component-hdfs[2799]: + log_and_fail hdfs 'Component hdfs failed to activate' 1
activate-component-hdfs[2799]: + local component=hdfs
activate-component-hdfs[2799]: + local 'message=Component hdfs failed to activate'
activate-component-hdfs[2799]: + local error_code=1
activate-component-hdfs[2799]: + local client_error_indicator=
activate-component-hdfs[2799]: + [[ 1 -eq 2 ]]
activate-component-hdfs[2799]: + echo 'StructuredError{hdfs, Component hdfs failed to activate}'
activate-component-hdfs[2799]: StructuredError{hdfs, Component hdfs failed to activate}
activate-component-hdfs[2799]: + exit 1

The Fix


Create the cluster using command line within GCP

Use the tag below when creating cluster  ---  put at the end of any create cluster command even if metadata tags exist for other purposes -- still add this tag at the end.

--metadata=block-project-ssh-keys=true

Your cluster will get created.

3 comments

Write comments
Unknown
AUTHOR
9 September 2021 at 02:48 delete

Thank you for this wonderful and much required information.
Visit her...
Web Hosting
backup on cloud
Backup Storage

Reply
avatar
Anonymous
AUTHOR
10 March 2022 at 21:00 delete

Gcp Dataproc Hdfs Error On Creation Of Cluster - Deliverbi Blog Gcp Google >>>>> Download Now

>>>>> Download Full

Gcp Dataproc Hdfs Error On Creation Of Cluster - Deliverbi Blog Gcp Google >>>>> Download LINK

>>>>> Download Now

Gcp Dataproc Hdfs Error On Creation Of Cluster - Deliverbi Blog Gcp Google >>>>> Download Full

>>>>> Download LINK

Reply
avatar
WeShape
AUTHOR
22 September 2022 at 02:51 delete

Thanks for sharing very useful information with us.
DevOps recruitment
is important because there are risks if done incorrectly. The risks include widening skill and capability gaps within your team if new team members lack the necessary skills. This skills gap can also have a negative impact on timelines and time constraints, delaying project completion.

Reply
avatar

Note: only a member of this blog may post a comment.



About Authors

Shahed Munir

Krishna Udathu

Shahed and Krishna are Oracle / Big Data Experts