Re: Is this possible to store the conf/archive directory in HDFS or FTP?

2017-03-24 Thread Michal Klempa
Hi,
we use to store flow.xml in git and conf inside Ansible procedures
(also versioned using git).
Deployment of configurations to NiFi is done using Jenkins+Ansible, so
the backup of configurations and flow.xml is defacto our GIT
repository.

On Fri, Mar 24, 2017 at 1:35 PM, Joe Witt  wrote:
> Prabhu
>
> There is no way to supply alternative URLs other than paths which lead
> to the locally accessible file system.
>
> You could, however, have a flow setup in nifi to list/fetch those
> files and to then FTP/SFTP them wherever you like.
>
> Thanks
> Joe
>
> On Fri, Mar 24, 2017 at 6:31 AM, prabhu Mahendran
>  wrote:
>> i have try to store backup operations for nifi in HDFS or FTP Directory.
>>
>> If flow has been any changes then it could be stored in
>> "%NIFI_HOME%/conf/archive" and "%NIFI_HOME%/conf/flow.xml.gz"
>>
>> Now i try to store that changes in ftp directory.
>>
>> If any configuration has changes it will also stored in FTP Directory.
>>
>> By configure the conf/archive
>>
>> nifi.flow.configuration.file=ftp:/conf/flow.xml.gz
>> nifi.flow.configuration.archive.dir=ftp:/conf/archive/
>> But i cannot able to store it.It leads InvalidPathException and nifi
>> couldn't start.
>>
>> Is there is any way to store the archive backup operation in Both local
>> drive and FTP directory?


Re: Is this possible to store the conf/archive directory in HDFS or FTP?

2017-03-24 Thread Joe Witt
Prabhu

There is no way to supply alternative URLs other than paths which lead
to the locally accessible file system.

You could, however, have a flow setup in nifi to list/fetch those
files and to then FTP/SFTP them wherever you like.

Thanks
Joe

On Fri, Mar 24, 2017 at 6:31 AM, prabhu Mahendran
 wrote:
> i have try to store backup operations for nifi in HDFS or FTP Directory.
>
> If flow has been any changes then it could be stored in
> "%NIFI_HOME%/conf/archive" and "%NIFI_HOME%/conf/flow.xml.gz"
>
> Now i try to store that changes in ftp directory.
>
> If any configuration has changes it will also stored in FTP Directory.
>
> By configure the conf/archive
>
> nifi.flow.configuration.file=ftp:/conf/flow.xml.gz
> nifi.flow.configuration.archive.dir=ftp:/conf/archive/
> But i cannot able to store it.It leads InvalidPathException and nifi
> couldn't start.
>
> Is there is any way to store the archive backup operation in Both local
> drive and FTP directory?


Is this possible to store the conf/archive directory in HDFS or FTP?

2017-03-24 Thread prabhu Mahendran
i have try to store backup operations for nifi in HDFS or FTP Directory.

If flow has been any changes then it could be stored in
"%NIFI_HOME%/conf/archive" and "%NIFI_HOME%/conf/flow.xml.gz"

Now i try to store that changes in ftp directory.

If any configuration has changes it will also stored in FTP Directory.

By configure the conf/archive

nifi.flow.configuration.file=ftp:/conf/flow.xml.gz
nifi.flow.configuration.archive.dir=ftp:/conf/archive/
But i cannot able to store it.It leads InvalidPathException and nifi
couldn't start.

Is there is any way to store the archive backup operation in Both local
drive and FTP directory?