Srimanth Gunturi created AMBARI-8057:
----------------------------------------
Summary: Flume: Clicking on host in Flume agent table does not
show agent graph sections
Key: AMBARI-8057
URL: https://issues.apache.org/jira/browse/AMBARI-8057
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 1.7.0
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Priority: Critical
Fix For: 1.7.0
In a 3 node cluster, flume agent was installed on all hosts. The following
configs were used
{code}
agent.sources = pstream
agent.channels = memoryChannel
agent.channels.memoryChannel.type = memory
agent.channels.memoryChannel.capacity = 1000
agent.sources.pstream.channels = memoryChannel
agent.sources.pstream.type = exec
agent.sources.pstream.command = python /tmp/print_stream.py 100 10000
agent.sinks = hdfsSink
agent.sinks.hdfsSink.type = hdfs
agent.sinks.hdfsSink.channel = memoryChannel
agent.sinks.hdfsSink.hdfs.path = hdfs://tmp/flumetest1/
agent.sinks.hdfsSink.hdfs.fileType = DataStream
agent.sinks.hdfsSink.hdfs.writeFormat = Text
agent.sinks.hdfsSink.hdfs.rollCount = 30
{code}
When the host is clicked on, we should see graph sections for that agent.
However there are exceptions in console log and white page.
Exceptions:
{code}
Uncaught TypeError: Cannot read property 'forEach' of undefined
controls_view.js:1054(anonymous function)
controls_view.js:1054ComputedPropertyPrototype.get ember-latest.js:3937get
ember-latest.js:2006Ember.Observable.Ember.Mixin.create.get
ember-latest.js:10009(anonymous function)
step3_view.js:13ComputedPropertyPrototype.get ember-latest.js:3937get
ember-latest.js:2006Ember.Observable.Ember.Mixin.create.get
ember-latest.js:10009(anonymous function)
step3_view.js:30ComputedPropertyPrototype.get ember-latest.js:3937get
ember-latest.js:2006ChainNodePrototype.value ember-latest.js:2989ChainNode
ember-latest.js:2968ChainNodePrototype.chain
ember-latest.js:3105ChainNodePrototype.chain
ember-latest.js:3112ChainNodePrototype.add
ember-latest.js:3063ChainNodePrototype.copy
ember-latest.js:3013Ember.finishChains ember-latest.js:3429Class
ember-latest.js:10761Ember.Mixin.create.create
ember-latest.js:10943Ember.ControllerMixin.reopen.connectOutlet
ember-latest.js:14856module.exports.Em.Route.extend.hosts.Em.Route.extend.hostDetails.Em.Route.extend.summary.Em.Route.extend.connectOutlets
overriddenProperty.hbs:125newFunc
ember-latest.js:1506Ember.State.Ember.Object.extend.trigger
ember-latest.js:18976newFunc ember-latest.js:1506(anonymous function)
ember-latest.js:20291Ember.StateManager.Ember.State.extend.triggerSetupContext
ember-latest.js:20289Ember.StateManager.Ember.State.extend.transitionTo
ember-latest.js:20151Ember.Router.Ember.StateManager.extend.transitionTo
ember-data-latest.js:841newFunc
ember-latest.js:1506module.exports.Em.Route.extend.showDetails
overrideWindow.hbs:190Ember.StateManager.Ember.State.extend.sendRecursively
ember-latest.js:20015Ember.StateManager.Ember.State.extend.sendRecursively
ember-latest.js:20022Ember.StateManager.Ember.State.extend.sendRecursively
ember-latest.js:20022Ember.StateManager.Ember.State.extend.sendRecursively
ember-latest.js:20022Ember.StateManager.Ember.State.extend.send
ember-latest.js:19996ActionHelper.registeredActions.(anonymous
function).handler ember-i18n-1.4.1.js:6(anonymous function)
ember-latest.js:14587f.event.dispatch handlebars-1.0.0.beta.6.js:19h.handle.i
{code}
{code}
Uncaught TypeError: Cannot read property '1' of null
update_controller.js:368App.UpdateController.Em.Controller.extend.updateHost
update_controller.js:368App.MainHostDetailsView.Em.View.extend.didInsertElement
hbase.js:108newFunc ember-latest.js:1506Ember.View.Ember.Object.extend.trigger
ember-latest.js:17308newFunc ember-latest.js:1506(anonymous function)
ember-latest.js:16615Ember.View.Ember.Object.extend.invokeRecursively
ember-latest.js:16573Ember.View.Ember.Object.extend._notifyDidInsertElement
ember-latest.js:16614Ember.View.states.preRender.insertElement
ember-latest.js:17651Ember.View.Ember.Object.extend.invokeForState
ember-latest.js:15984invoke ember-latest.js:4471iter
ember-latest.js:4524RunLoop.flush ember-latest.js:4588RunLoop.end
ember-latest.js:4493Ember.run.end ember-latest.js:4720autorun
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)