[ 
https://issues.apache.org/jira/browse/METRON-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883806#comment-15883806
 ] 

ASF GitHub Bot commented on METRON-641:
---------------------------------------

Github user mattf-horton commented on the issue:

    https://github.com/apache/incubator-metron/pull/405
  
    @DimDroll , here's what I did to find the answer to your question:  
    * I went to github and found 
https://github.com/apache/incubator-metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/KIBANA/4.5.1/package/scripts/dashboard/dashboard.p
    * Then I clicked the "Blame" button, which showed me the patch it was 
created by.
    * Clicking on that, I found that @dlyle65535 committed it as part of 
METRON-365: Load demo dashboard on Kibana Service install (PR#211).  
    * Searching for 'dashboard.p', I find both the file itself, and the use of 
it in line 131 of kibana_master.py. 
    * I couldn't recognize the language it's in (but it sure isn't python).  So 
I googled "file format .p" and found it is probably a "python pickle" file, and 
indeed searching for "pickle" in the same commit found in dashboardindex.py 
uses of pickle.load and pickle.dump.
    
    So it's not misnamed, and you were close with the .pyc guess.  The only 
question left is, does it belong there as a constant template file for the 
kibana dashboard?  Or is it an auto-gen file that shouldn't actually be in git? 
 That's a question for @dlyle65535 .


> Fix Kibana install file
> -----------------------
>
>                 Key: METRON-641
>                 URL: https://issues.apache.org/jira/browse/METRON-641
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Dima Kovalyov
>            Priority: Minor
>             Fix For: 0.3.1
>
>
> Kibana installed as part of Metron mpack winthin Ambari will fail during 
> start with following error:
> {code}
> ValueError: zero length field name in format
> {code}
> We can fix it with:
> {code}
> sed -i 's@{}/kibana@{0}/kibana@g' 
> /incubator-metron/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/KIBANA/4.5.1/package/scripts/kibana_master.py
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to