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

ASF GitHub Bot commented on NIFI-2957:
--------------------------------------

Github user brosander commented on the issue:

    https://github.com/apache/nifi/pull/1193
  
    @jtstorck I'm getting logging messages in stdout when I don't specify a 
file:
    
    ```
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in 
[jar:file:/opt/nifi-toolkit/lib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in 
[jar:file:/opt/nifi-toolkit/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
    SLF4J: Actual binding is of type 
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]
    2016-11-10 15:53:36,446 INFO [main] o.a.n.t.zkmigrator.ZooKeeperMigrator 
Persisting data from source ZooKeeper: 
ZooKeeperEndpointConfig{connectString=zoo1, path=/node}
    [
      {
        "connectString": "zoo1",
        "path": "/node"
      },
      {
        "path": "/node",
        "data": [
          99,
          111,
          110,
          116,
          101,
          110,
          116
        ],
        "stat": {
          "czxid": 9,
          "mzxid": 9,
          "ctime": 1478792367151,
          "mtime": 1478792367151,
          "version": 0,
          "cversion": 0,
          "aversion": 0,
          "ephemeralOwner": 0,
          "dataLength": 7,
          "numChildren": 0,
          "pzxid": 9
        },
        "acls": [
          {
            "perms": 31,
            "id": {
              "scheme": "world",
              "id": "anyone"
            }
          }
        ],
        "ephemeralOwner": 0
      }
    ]2016-11-10 15:53:36,496 INFO [main] o.a.n.t.zkmigrator.ZooKeeperMigrator 1 
nodes read from ZooKeeperEndpointConfig{connectString=zoo1, path=/node}
    ```


> ZooKeeper migration toolkit
> ---------------------------
>
>                 Key: NIFI-2957
>                 URL: https://issues.apache.org/jira/browse/NIFI-2957
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Tools and Build
>    Affects Versions: 1.0.0, 0.7.1
>            Reporter: Jeff Storck
>            Assignee: Jeff Storck
>             Fix For: 1.2.0
>
>
> When upgrading from NiFi 0.x to 1.x, or when it is desired to move from the 
> embedded ZooKeeper to an external ZooKeeper, state from ZooKeeper needs to be 
> migrated.
> Initial considerations:
> * Username/password protection of nodes is not supported in NiFi 1.x.. Those 
> nodes that are configured that way in ZooKeeper need to be migrated to have 
> an open ACL.
> * The toolkit will support a mode to read data from a configurable root node 
> in a source ZooKeeper, and the data will be written to a file designated via 
> CLI.
> * The toolkit will support a mode to write data to a destination ZooKeeper
> * The toolkit will not allow data to be written to the same ZooKeeper from 
> which the source data was obtained.
> * The toolkit will not support reconnecting to ZooKeeper if it is 
> disconnected.  The user can rerun the tool.
> * The toolkit will support ZooKeepers configured with Kerberos.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to