Closed BrandonHaynes closed 9 years ago
When viewing profiling results for any query, e.g.:
vector = scan(dwt2E24); store(vector, transform);
No visualization is displayed, and I am getting the following Javascript error on line 58 of graph.js: Cannot read property 'forEach' of null.
Cannot read property 'forEach' of null
Moving up the call stack, I see that fragments = null is being explicitly set in the script block embedded in /profile?queryId=X:
fragments = null
/profile?queryId=X
<script async defer> d3.select('.query-plan').each(function() { var element = d3.select(this); var queryStatus = {"language": "myrial", "startTime": "2015-04-08T15:49:31.254Z", "queryId": 43, "finishTime": "2015-04-08T15:49:53.334Z", "submitTime": "2015-04-08T15:49:31.235Z", "url": "http://ec2-52-4-99-252.compute-1.amazonaws.com:8753/query/query-43", "subqueryId": 0, "logicalRa": "Store(public:adhoc:transform)[Scan(public:adhoc:dwt2E24)]", "rawQuery": "vector = scan(dwt2E24);\nstore(vector, transform);", "ftMode": "NONE", "message": null, "plan": {"type": "SubQuery", "fragments": [{"workers": [1, 2, 3, 4, 5, 6, 7, 8], "overrideWorkers": null, "operators": [{"opId": 0, "opType": "TableScan", "relationKey": {"userName": "public", "relationName": "dwt2E24", "programName": "adhoc"}, "opName": "MyriaScan(public:adhoc:dwt2E24)", "storedRelationId": null}, {"opId": 1, "argOverwriteTable": true, "relationKey": {"userName": "public", "relationName": "transform", "programName": "adhoc"}, "connectionInfo": null, "argChild": 0, "indexes": null, "opType": "DbInsert", "opName": "MyriaStore(public:adhoc:transform)"}], "fragmentIndex": 0}]}, "status": "SUCCESS", "profilingMode": ["QUERY", "RESOURCE"], "elapsedNanos": 22079420661}; var fragments = null; theGraph = queryGraphInteractive(element, queryStatus, fragments); }); $(function() { $('.show-overview').click(function(event) { event.preventDefault(); theGraph.unfocus(); theGraph.openOverview(); }); }); </script>
Reproduction URI (which may be terminated at any time): http://ec2-52-4-99-252.compute-1.amazonaws.com/profile?queryId=43
Note that this is occurring on an EC2 cluster and so may be configuration-related.
This is not occurring on a freshly instantiated cluster, so may have been restart-related. I'll re-open if necessary.
When viewing profiling results for any query, e.g.:
No visualization is displayed, and I am getting the following Javascript error on line 58 of graph.js:
Cannot read property 'forEach' of null
.Moving up the call stack, I see that
fragments = null
is being explicitly set in the script block embedded in/profile?queryId=X
:Reproduction URI (which may be terminated at any time): http://ec2-52-4-99-252.compute-1.amazonaws.com/profile?queryId=43
Note that this is occurring on an EC2 cluster and so may be configuration-related.