Member since
07-30-2019
453
Posts
112
Kudos Received
80
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1671 | 04-12-2023 08:58 PM | |
3779 | 04-04-2023 11:48 PM | |
1159 | 04-02-2023 10:24 PM | |
2845 | 07-05-2019 08:38 AM | |
2930 | 05-13-2019 06:21 AM |
12-28-2018
10:27 AM
Hi @Ye Jun, Can you please login and accept this answer if it helped you
... View more
12-28-2018
10:24 AM
Hi @Jack Madden ,
Sorry for the delay in response. I was analyzing deep in code why is this happening and it seems like its a BUG in javascript that it shows service is decommissioning stage when the HBASE region server is already started stage.
This looks like a javascript bug to me,
we can easily workaround this by fixing in app.js
Go through this below steps and let me know if it worked for you
Steps
1) go to ambari-server and navigate to below folder and take a app.js backup
[root@asn1 ~]# cd /usr/lib/ambari-server/web/javascripts/
[root@asn1 javascripts]# ls -lh
total 29M
-rw-r--r--. 1 root root 8.6M Dec 17 09:33 app.js
-rw-r--r--. 1 root root 2.5M Dec 7 18:32 vendor.js
[root@asn1 javascripts]# cp app.js app.js_backup_original
2) edit the app.js file
[root@asn1 javascripts]# vi app.js
findout the line :
this.setStatusAs('RS_DECOMMISSIONED');
and comment it
//this.setStatusAs('RS_DECOMMISSIONED');
3) save the file and Hard reload the ambari-web browser(open in incognito tab to remove the possbility of cached app.js)
Please share the feedback if it worked or not.
Please login and accept the answer if it did
Note : The following changes are based on my inspection and analysis. this BUG is not yet fixed in ambari, you can revert back the app.js after the change incases you wish for valid fix. i will raise apache bug for this and fix later.
... View more
12-28-2018
09:11 AM
1 Kudo
Hi @Ye Jun, the template hbs files will be bundled to app.js while the web code is build and will be located on /usr/lib/ambari-server/web/javascripts folder . If you want to edit the ambari-web template hbs file, you might need to download the code from apache ambari, and build the app.js referring to : https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development for corresponding ambari branch and then deploy the builded app.js in abouve folder. Please see if this helps. Please accept this answer if it did.
... View more
12-28-2018
08:21 AM
Hi @rajendra babu, are you saving your notebooks in local storage? if that's the case, unfortunately, we cannot do anything here you can save the notebooks other than local storage referring to this help: https://zeppelin.apache.org/docs/0.8.0/setup/storage/storage.html#notebook-storage-in-zeppelinhub This will help you recover the notebooks if you are using GIT, MongoDB or zeppelinhub. It is recommended to have 2 notebook repo so that you have at least another copy of your note. @scharan any views on this ?
... View more
12-28-2018
08:14 AM
Hey @Mukesh Kumar, so i assume the service zeppelin was not running was the issue . i thought i asked you about it in last comment 🙂 Glad that it resolved.
... View more
12-28-2018
07:57 AM
HI @Nihal Shelke,
Does my above comment on setting the custom working directory for Hbase-region server work for you?
I didn't understand your last comment.
You can give some preexisting directory for this the workdir like /root or /users/asnaik which will exist in all hosts by default.
Please login and accept answer if this helped for you
... View more
12-28-2018
07:41 AM
Hi @Mukesh Kumar,
this happens when there is some inconsistency in the ambari database for the reported service Current state.
Is your zeppelin Notebook service in started state and is there any alert related to zeppelin in your ambari server.
Usually, when I face such issues I will restart my ambari-agent in the probalamtic host to resolve this issue.
can you please try to restart Ambari-agent using the below command in host: sandbox-hdp.hortonworks.com
ambari-agent restart
Please login and accept the answer if its helpful
... View more
12-27-2018
01:51 PM
HI @Shantanu
Sharma
, Can you please see if the solution given in here works for you or not ?: https://community.hortonworks.com/questions/232059/getting-error-while-starting-hbase-process-in-amba.html?childToView=231049#answer-231049 Please login and accept answer if its helpfull.
... View more
12-27-2018
01:50 PM
Hey @Nihal Shelke , This looks more like Netty issue to me referring to https://github.com/netty/netty/issues/6678 ( Netty is a third party jar used by Hbase). can you try the following workaround Go to ambari->services>Hbase >configs > hbase-env template -> find the variable export HBASE_OPTS and add the following startup variables to it.
-Dorg.apache.hbase.thirdparty.io.netty.native.workdir=<some working directory>
I did something like :
export HBASE_OPTS="$HBASE_OPTS -Dorg.apache.hbase.thirdparty.io.netty.native.workdir=/root/asnaik"
and retry starting with ambari and share the results Please accept this answer if its helpful Image :
... View more
12-27-2018
02:11 AM
Hey @Henry Luo , As i specified earlier, we need to fetch the version_xml from repo_version table, modify it and update the table. you can use any of UI tools like PGADMIN4(if postgres UI) or can update the same using the command I mentioned above. If you are not fully aware of Database operations you can ignore these wrong versions change as I explained above why its happening. Hope this helps.Please accept answer if it did.
... View more