GitHub user 2xyo opened a pull request:

    https://github.com/apache/incubator-metron/pull/220

    Metron-342 Fix permissions of {{ metron_directory }}/patterns directory

    This fix allow the `hdfs` user to access to grok patterns in `{{ 
metron_directory }}/patterns`.
    
    This PR addresses https://issues.apache.org/jira/browse/METRON-343
    
    Fix the following error during the installation:
    ```
    TASK [metron_streaming : Upload Grok Patterns to hdfs:///apps/metron] 
**********
    fatal: [node1]: FAILED! => {"changed": true, "cmd": ["hdfs", "dfs", "-put", 
"-f", "/usr/metron/0.2.0BETA/patterns", "/apps/metron"], "delta": 
"0:00:02.131558", "end": "2016-08-21 14:03:26.476524", "failed": true, "rc": 1, 
"start": "2016-08-21 14:03:24.344966", "stderr": "put: Error accessing 
file:/usr/metron/0.2.0BETA/patterns", "stdout": "", "stdout_lines": [], 
"warnings": []}
    
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/2xyo/incubator-metron patch-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/220.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #220
    
----
commit 16366dce01393bbaad59340a664a9e18a455284c
Author: 2*yo <[email protected]>
Date:   2016-08-21T12:23:59Z

    Metron-342 Fix permissions of {{ metron_directory }}/patterns directory
    
    This fix allow the `hdfs` user to upload grok pattern on HDFS directory.
    
    This PR addresses https://issues.apache.org/jira/browse/METRON-343
    
    Fix the following error during the installation:
    ```
    TASK [metron_streaming : Upload Grok Patterns to hdfs:///apps/metron] 
**********
    fatal: [node1]: FAILED! => {"changed": true, "cmd": ["hdfs", "dfs", "-put", 
"-f", "/usr/metron/0.2.0BETA/patterns", "/apps/metron"], "delta": 
"0:00:02.131558", "end": "2016-08-21 14:03:26.476524", "failed": true, "rc": 1, 
"start": "2016-08-21 14:03:24.344966", "stderr": "put: Error accessing 
file:/usr/metron/0.2.0BETA/patterns", "stdout": "", "stdout_lines": [], 
"warnings": []}
    
    ```

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to