Hue 4.1 - Spark Submit Python showing the wrong editor title

18 vues
Accéder directement au premier message non lu

Theyaa Matti

non lue,
30 nov. 2017, 09:25:2730/11/2017
à Hue-Users
Launching the Spark Submit Python shows the wrong editor name like in the image below. Also the run button is always greyed out.


Theyaa Matti

non lue,
30 nov. 2017, 15:25:3130/11/2017
à Hue-Users
Anyone can help me with this please?

Romain Rigaux

non lue,
4 déc. 2017, 14:05:5904/12/2017
à Theyaa Matti,Hue-Users

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Theyaa Matti

non lue,
5 déc. 2017, 00:25:1305/12/2017
à Romain Rigaux,Hue-Users
I believe I am getting JavaScript error running the Spark Jar Submit and PySpark Submit snippets: This is exception I get in both Chrome and Firefox

hue.errorcatcher.js:31 Hue detected a Javascript error:  http://<HOST>:8888/static/desktop/js/hue-bundle.js 51 6928 Uncaught TypeError: Unable to process binding "sortable: function (){return {
          template:'snippeteditor',data:snippets,isEnabled:true,options:{'handle':'.move-widget','axis':'y','opacity':0.8,'placeholder':'snippet-move-placeholder','greedy':true,'stop':function(event,ui){
              var $element = $(event.target);
              $element.find('.snippet-body').slideDown('fast',function(){ $(MAIN_SCROLLABLE).scrollTop(lastWindowScrollPosition);});},'helper':function(event){
              lastWindowScrollPosition = $(MAIN_SCROLLABLE).scrollTop();
              var $element = $(event.target);
              $element.find('.snippet-body').slideUp('fast',function(){
                $('.sortable-snippets').sortable('refreshPositions')});
              var _par = $('<div>')
                .css('overflow','hidden')
                .addClass('card-widget snippet-move-helper')
                .width($element.parents('.snippet').width());
              $('<h2>')
                .addClass('card-heading')
                .html($element.parents('h2').html())
                .appendTo(_par)
                .find('.hover-actions, .snippet-actions')
                .removeClass('hover-actions')
                .removeClass('snippet-actions');
              $('<pre>')
                .addClass('dragging-pre muted')
                .html(ko.dataFor($element.parents('.card-widget')[0]).statement())
                .appendTo(_par);
              _par.css('height','100px');
              return _par;}},dragged:function(widget){
            $('.snippet-body').slideDown('fast',function(){ $(MAIN_SCROLLABLE).scrollTop(lastWindowScrollPosition);});}} }"
Message: Unable to process binding "template: function (){return { if:$root.editorMode() && ! $root.isResultFullScreenMode() &&['jar','java','spark2','distcp','shell','mapreduce'].indexOf(type()) == -1,name:'snippet-code-resizereditor'} }"
Message: Unable to process binding "aceResizer: function (){return { ace:ace,target:'.ace-container-resizable',onStart:hideFixedHeaders,onStop:redrawFixedHeaders} }"
Message: Cannot read property 'on' of null
window.onerror @ hue.errorcatcher.js:31
setTimeout (async)
deferError @ knockout-latest.debug.js:417
e @ knockout-latest.debug.js:1089
t @ knockout-latest.debug.js:1097
attributes (async)
(anonymous) @ knockout-latest.debug.js:1048
n @ knockout-latest.debug.js:1104
schedule @ knockout-latest.debug.js:1112
(anonymous) @ knockout-latest.debug.js:1195
i._limitChange @ knockout-latest.debug.js:1366
d @ knockout-latest.debug.js:1272
valueHasMutated @ knockout-latest.debug.js:1529
t @ knockout-latest.debug.js:1495
u @ knockout.mapping.js:640
t.fromJS @ knockout.mapping.js:117
Notebook @ notebook.ko.js:1993
EditorViewModel.self.loadNotebook @ notebook.ko.js:3014
(anonymous) @ notebook.ko.js:3117
c @ jquery.js:3073
fireWith @ jquery.js:3185
n @ jquery.js:8251
(anonymous) @ jquery.js:8598
XMLHttpRequest.send (async)
XMLHttpRequest.send @ ?type=py:3926
send @ jquery.js:8623
ajax @ jquery.js:8152
re.(anonymous function) @ jquery.js:8298
EditorViewModel.self.newNotebook @ notebook.ko.js:3113
EditorViewModel.self.init @ notebook.ko.js:3002
(anonymous) @ VM2399:1099
c @ jquery.js:3073
add @ jquery.js:3119
re.fn.ready @ jquery.js:3352
(anonymous) @ VM2399:1096
(anonymous) @ VM2399:1688
globalEval @ jquery.js:330
domManip @ jquery.js:5411
append @ jquery.js:5194
(anonymous) @ jquery.js:5309
re.access @ jquery.js:3465
html @ jquery.js:5276
success @ ?type=py:9075
c @ jquery.js:3073
fireWith @ jquery.js:3185
n @ jquery.js:8251
(anonymous) @ jquery.js:8598
XMLHttpRequest.send (async)
XMLHttpRequest.send @ ?type=py:3926
send @ jquery.js:8623
ajax @ jquery.js:8152
OnePageViewModel.self.loadApp @ ?type=py:9059
(anonymous) @ ?type=py:9173
(anonymous) @ index.js:1773
setTimeout (async)
Et @ index.js:1773
(anonymous) @ index.js:7780
(anonymous) @ index.js:8152
app @ ?type=py:9166
(anonymous) @ index.js:474
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
r.dispatch @ index.js:312
r.replace @ index.js:275
r.start @ index.js:168
r @ index.js:102
(anonymous) @ ?type=py:9329
(anonymous) @ hue.utils.js:465
publish @ hue.utils.js:463
(anonymous) @ clusterConfig.js:29
c @ jquery.js:3073
fireWith @ jquery.js:3185
n @ jquery.js:8251
(anonymous) @ jquery.js:8598
XMLHttpRequest.send (async)
XMLHttpRequest.send @ ?type=py:3926
send @ jquery.js:8623
ajax @ jquery.js:8152
re.(anonymous function) @ jquery.js:8298
ApiHelper.getClusterConfig @ apiHelper.js:1606
refreshConfig @ clusterConfig.js:25
ClusterConfig @ clusterConfig.js:44
(anonymous) @ clusterConfig.js:58
knockout-latest.debug.js:419 Uncaught TypeError: Unable to process binding "sortable: function (){return {
          template:'snippeteditor',data:snippets,isEnabled:true,options:{'handle':'.move-widget','axis':'y','opacity':0.8,'placeholder':'snippet-move-placeholder','greedy':true,'stop':function(event,ui){
              var $element = $(event.target);
              $element.find('.snippet-body').slideDown('fast',function(){ $(MAIN_SCROLLABLE).scrollTop(lastWindowScrollPosition);});},'helper':function(event){
              lastWindowScrollPosition = $(MAIN_SCROLLABLE).scrollTop();
              var $element = $(event.target);
              $element.find('.snippet-body').slideUp('fast',function(){
                $('.sortable-snippets').sortable('refreshPositions')});
              var _par = $('<div>')
                .css('overflow','hidden')
                .addClass('card-widget snippet-move-helper')
                .width($element.parents('.snippet').width());
              $('<h2>')
                .addClass('card-heading')
                .html($element.parents('h2').html())
                .appendTo(_par)
                .find('.hover-actions, .snippet-actions')
                .removeClass('hover-actions')
                .removeClass('snippet-actions');
              $('<pre>')
                .addClass('dragging-pre muted')
                .html(ko.dataFor($element.parents('.card-widget')[0]).statement())
                .appendTo(_par);
              _par.css('height','100px');
              return _par;}},dragged:function(widget){
            $('.snippet-body').slideDown('fast',function(){ $(MAIN_SCROLLABLE).scrollTop(lastWindowScrollPosition);});}} }"
Message: Unable to process binding "template: function (){return { if:$root.editorMode() && ! $root.isResultFullScreenMode() &&['jar','java','spark2','distcp','shell','mapreduce'].indexOf(type()) == -1,name:'snippet-code-resizereditor'} }"
Message: Unable to process binding "aceResizer: function (){return { ace:ace,target:'.ace-container-resizable',onStart:hideFixedHeaders,onStop:redrawFixedHeaders} }"
Message: Cannot read property 'on' of null
    at init (ko.hue-bindings.js:2071)
    at knockout-latest.debug.js:3303
    at Object.ignore (knockout-latest.debug.js:1461)
    at knockout-latest.debug.js:3302
    at Object.arrayForEach (knockout-latest.debug.js:159)
    at p (knockout-latest.debug.js:3288)
    at l (knockout-latest.debug.js:3168)
    at y.applyBindings (knockout-latest.debug.js:3379)
    at Object.a.applyBindings (knockout.validation.js:1472)
    at knockout-latest.debug.js:5237
init @ ko.hue-bindings.js:2071
(anonymous) @ knockout-latest.debug.js:3303
ignore @ knockout-latest.debug.js:1461
(anonymous) @ knockout-latest.debug.js:3302
arrayForEach @ knockout-latest.debug.js:159
p @ knockout-latest.debug.js:3288
l @ knockout-latest.debug.js:3168
y.applyBindings @ knockout-latest.debug.js:3379
a.applyBindings @ knockout.validation.js:1472
(anonymous) @ knockout-latest.debug.js:5237
e @ knockout-latest.debug.js:5188
t @ knockout-latest.debug.js:5235
r @ knockout-latest.debug.js:5283
y.dependentObservable.disposeWhen @ knockout-latest.debug.js:5325
evaluateImmediate_CallReadThenEndDependencyDetection @ knockout-latest.debug.js:2142
evaluateImmediate_CallReadWithDependencyDetection @ knockout-latest.debug.js:2114
evaluateImmediate @ knockout-latest.debug.js:2078
y.computed.y.dependentObservable @ knockout-latest.debug.js:1939
y.renderTemplate @ knockout-latest.debug.js:5317
update @ knockout-latest.debug.js:5455
function.y.dependentObservable.disposeWhenNodeIsRemoved @ knockout-latest.debug.js:3318
evaluateImmediate_CallReadThenEndDependencyDetection @ knockout-latest.debug.js:2142
evaluateImmediate_CallReadWithDependencyDetection @ knockout-latest.debug.js:2114
evaluateImmediate @ knockout-latest.debug.js:2078
y.computed.y.dependentObservable @ knockout-latest.debug.js:1939
(anonymous) @ knockout-latest.debug.js:3316
arrayForEach @ knockout-latest.debug.js:159
p @ knockout-latest.debug.js:3288
l @ knockout-latest.debug.js:3168
a @ knockout-latest.debug.js:3150
l @ knockout-latest.debug.js:3177
a @ knockout-latest.debug.js:3150
l @ knockout-latest.debug.js:3177
a @ knockout-latest.debug.js:3150
l @ knockout-latest.debug.js:3177
a @ knockout-latest.debug.js:3150
l @ knockout-latest.debug.js:3177
y.applyBindings @ knockout-latest.debug.js:3379
a.applyBindings @ knockout.validation.js:1472
(anonymous) @ knockout-latest.debug.js:5237
e @ knockout-latest.debug.js:5188
t @ knockout-latest.debug.js:5235
f @ knockout-latest.debug.js:5361
y.utils.setDomNodeChildrenFromArrayMapping @ knockout-latest.debug.js:5734
ignore @ knockout-latest.debug.js:1461
y.dependentObservable.disposeWhenNodeIsRemoved @ knockout-latest.debug.js:5382
evaluateImmediate_CallReadThenEndDependencyDetection @ knockout-latest.debug.js:2142
evaluateImmediate_CallReadWithDependencyDetection @ knockout-latest.debug.js:2114
evaluateImmediate @ knockout-latest.debug.js:2078
y.computed.y.dependentObservable @ knockout-latest.debug.js:1939
y.renderTemplateForEach @ knockout-latest.debug.js:5370
update @ knockout-latest.debug.js:5447
update @ knockout-sortable.min.js:2
function.y.dependentObservable.disposeWhenNodeIsRemoved @ knockout-latest.debug.js:3318
evaluateImmediate_CallReadThenEndDependencyDetection @ knockout-latest.debug.js:2142
evaluateImmediate_CallReadWithDependencyDetection @ knockout-latest.debug.js:2114
evaluateImmediate @ knockout-latest.debug.js:2078
y.computed.y.dependentObservable @ knockout-latest.debug.js:1939
(anonymous) @ knockout-latest.debug.js:3316
arrayForEach @ knockout-latest.debug.js:159
p @ knockout-latest.debug.js:3288
l @ knockout-latest.debug.js:3168
a @ knockout-latest.debug.js:3150
l @ knockout-latest.debug.js:3177
a @ knockout-latest.debug.js:3150
y.applyBindingsToDescendants @ knockout-latest.debug.js:3366
y.computed.disposeWhenNodeIsRemoved @ knockout-latest.debug.js:4341
evaluateImmediate_CallReadThenEndDependencyDetection @ knockout-latest.debug.js:2142
evaluateImmediate_CallReadWithDependencyDetection @ knockout-latest.debug.js:2114
evaluateImmediate @ knockout-latest.debug.js:2078
r @ knockout-latest.debug.js:1886
(anonymous) @ knockout-latest.debug.js:1355
e @ knockout-latest.debug.js:1087
t @ knockout-latest.debug.js:1097
setTimeout (async)
deferError @ knockout-latest.debug.js:417
e @ knockout-latest.debug.js:1089
t @ knockout-latest.debug.js:1097
attributes (async)
(anonymous) @ knockout-latest.debug.js:1048
n @ knockout-latest.debug.js:1104
schedule @ knockout-latest.debug.js:1112
(anonymous) @ knockout-latest.debug.js:1195
i._limitChange @ knockout-latest.debug.js:1366
d @ knockout-latest.debug.js:1272
valueHasMutated @ knockout-latest.debug.js:1529
t @ knockout-latest.debug.js:1495
u @ knockout.mapping.js:640
t.fromJS @ knockout.mapping.js:117
Notebook @ notebook.ko.js:1993
EditorViewModel.self.loadNotebook @ notebook.ko.js:3014
(anonymous) @ notebook.ko.js:3117
c @ jquery.js:3073
fireWith @ jquery.js:3185
n @ jquery.js:8251
(anonymous) @ jquery.js:8598
XMLHttpRequest.send (async)
XMLHttpRequest.send @ ?type=py:3926
send @ jquery.js:8623
ajax @ jquery.js:8152
re.(anonymous function) @ jquery.js:8298
EditorViewModel.self.newNotebook @ notebook.ko.js:3113
EditorViewModel.self.init @ notebook.ko.js:3002
(anonymous) @ VM2399:1099
c @ jquery.js:3073
add @ jquery.js:3119
re.fn.ready @ jquery.js:3352
(anonymous) @ VM2399:1096
(anonymous) @ VM2399:1688
globalEval @ jquery.js:330
domManip @ jquery.js:5411
append @ jquery.js:5194
(anonymous) @ jquery.js:5309
re.access @ jquery.js:3465
html @ jquery.js:5276
success @ ?type=py:9075
c @ jquery.js:3073
fireWith @ jquery.js:3185
n @ jquery.js:8251
(anonymous) @ jquery.js:8598
XMLHttpRequest.send (async)
XMLHttpRequest.send @ ?type=py:3926
send @ jquery.js:8623
ajax @ jquery.js:8152
OnePageViewModel.self.loadApp @ ?type=py:9059
(anonymous) @ ?type=py:9173
(anonymous) @ index.js:1773
setTimeout (async)
Et @ index.js:1773
(anonymous) @ index.js:7780
(anonymous) @ index.js:8152
app @ ?type=py:9166
(anonymous) @ index.js:474
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
(anonymous) @ index.js:475
n @ index.js:306
r.dispatch @ index.js:312
r.replace @ index.js:275
r.start @ index.js:168
r @ index.js:102
(anonymous) @ ?type=py:9329
(anonymous) @ hue.utils.js:465
publish @ hue.utils.js:463
(anonymous) @ clusterConfig.js:29
c @ jquery.js:3073
fireWith @ jquery.js:3185
n @ jquery.js:8251
(anonymous) @ jquery.js:8598
XMLHttpRequest.send (async)
XMLHttpRequest.send @ ?type=py:3926
send @ jquery.js:8623
ajax @ jquery.js:8152
re.(anonymous function) @ jquery.js:8298
ApiHelper.getClusterConfig @ apiHelper.js:1606
refreshConfig @ clusterConfig.js:25
ClusterConfig @ clusterConfig.js:44
(anonymous) @ clusterConfig.js:58

Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message