Plugins will crash if user changes configs values not include port number

Bug #1265813 reported by Yevgen R.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Yevgen R.

Bug Description

Plugins use configs to get port number for forming cluster info urls (hadoop, oozie) without any validation.

Revision history for this message
Matthew Farrellee (mattf) wrote :

If a user changes hadoop configurations that contain a port by default (e.g. dfs.http.address) to not contain a port, the cluster startup will fail without a meaningful error to the user.

Changed in savanna:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → icehouse-3
Changed in savanna:
milestone: icehouse-3 → next
Revision history for this message
Andrew Lazarev (alazarev) wrote :

The bug was covered by https://review.openstack.org/#/c/66322

Cluster still ends in Error state if user doesn't include port where Hadoop expects it. But this is more general problem - hadoop configs validation. So, if user doesn't include port in dfs.http.address (like Matt mentioned) cluster fails to start because namenode service didn't start. The same effect will be if user enters wrong value as dfs.http.address but with port included.

So, Sahara issue is fixed. Hadoop config validation is much more generic problem than just port validation.

Closing as resolved.

Changed in sahara:
assignee: nobody → Yevgen R. (yevgen-runts)
status: Confirmed → Fix Released
assignee: Yevgen R. (yevgen-runts) → nobody
milestone: next → none
assignee: nobody → Yevgen R. (yevgen-runts)
Changed in sahara:
milestone: none → icehouse-2
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.