[ 
https://issues.apache.org/jira/browse/METRON-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Muhammed updated METRON-1692:
-----------------------------
    Description: 
Metron docker steps described 
[here|https://metron.apache.org/current-book/metron-contrib/metron-docker/index.html]
 not working with 0.5.0 version (release tag - apache-metron-0.5.0-rc2).   
command `docker-compose up -d` fails with the below error   
{code:java}
Step 3/7 : ADD ./es_templates /es_templates                                     
                                                                               
ERROR: Service 'elasticsearch' failed to build: ADD failed: stat 
/mnt/sda1/var/lib/docker/tmp/docker-builder890591068/es_templates: no such file 
or directory {code}
I just commented out the line 
{code:java}
ADD ./es_templates /es_templates{code}
in elasticsearch docker file then this error is gone and new one coming related 
to storm.     
{code:java}
Step 13/32 : RUN sed -i -e "s/kafka.zk=.*:/kafka.zk=kafkazk:/g" 
/usr/metron/$METRON_VERSION/config/enrichment.properties                        
                ---> Running in 34fe9681481f           sed: can't read 
/usr/metron/0.5.0/config/enrichment.properties: No such file or directory       
                                                               ERROR: Service 
'storm' failed to build: The command '/bin/sh -c sed -i -e 
"s/kafka.zk=.*:/kafka.zk=kafkazk:/g" 
/usr/metron/$METRON_VERSION/config/enrichment.properties' returned a non-zero 
code: 2 {code}

  was:
Metron docker steps described 
[here|https://metron.apache.org/current-book/metron-contrib/metron-docker/index.html]
 not working with 0.5.0 version.   command `docker-compose up -d` fails with 
the below error   
{code:java}
Step 3/7 : ADD ./es_templates /es_templates                                     
                                                                               
ERROR: Service 'elasticsearch' failed to build: ADD failed: stat 
/mnt/sda1/var/lib/docker/tmp/docker-builder890591068/es_templates: no such file 
or directory {code}
I just commented out the line 
{code:java}
ADD ./es_templates /es_templates{code}
in elasticsearch docker file then this error is gone and new one coming related 
to storm.     
{code:java}
Step 13/32 : RUN sed -i -e "s/kafka.zk=.*:/kafka.zk=kafkazk:/g" 
/usr/metron/$METRON_VERSION/config/enrichment.properties                        
                ---> Running in 34fe9681481f           sed: can't read 
/usr/metron/0.5.0/config/enrichment.properties: No such file or directory       
                                                               ERROR: Service 
'storm' failed to build: The command '/bin/sh -c sed -i -e 
"s/kafka.zk=.*:/kafka.zk=kafkazk:/g" 
/usr/metron/$METRON_VERSION/config/enrichment.properties' returned a non-zero 
code: 2 {code}


> Metron docker support for 0.5.0 release
> ---------------------------------------
>
>                 Key: METRON-1692
>                 URL: https://issues.apache.org/jira/browse/METRON-1692
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Muhammed
>            Priority: Minor
>
> Metron docker steps described 
> [here|https://metron.apache.org/current-book/metron-contrib/metron-docker/index.html]
>  not working with 0.5.0 version (release tag - apache-metron-0.5.0-rc2).   
> command `docker-compose up -d` fails with the below error   
> {code:java}
> Step 3/7 : ADD ./es_templates /es_templates                                   
>                                                                               
>    ERROR: Service 'elasticsearch' failed to build: ADD failed: stat 
> /mnt/sda1/var/lib/docker/tmp/docker-builder890591068/es_templates: no such 
> file or directory {code}
> I just commented out the line 
> {code:java}
> ADD ./es_templates /es_templates{code}
> in elasticsearch docker file then this error is gone and new one coming 
> related to storm.     
> {code:java}
> Step 13/32 : RUN sed -i -e "s/kafka.zk=.*:/kafka.zk=kafkazk:/g" 
> /usr/metron/$METRON_VERSION/config/enrichment.properties                      
>                   ---> Running in 34fe9681481f           sed: can't read 
> /usr/metron/0.5.0/config/enrichment.properties: No such file or directory     
>                                                                  ERROR: 
> Service 'storm' failed to build: The command '/bin/sh -c sed -i -e 
> "s/kafka.zk=.*:/kafka.zk=kafkazk:/g" 
> /usr/metron/$METRON_VERSION/config/enrichment.properties' returned a non-zero 
> code: 2 {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to