Grant Henke has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/13878 )

Change subject: [examples] Add a complete Nifi quickstart example
......................................................................


Patch Set 4:

(8 comments)

http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc
File examples/quickstart/nifi/README.adoc:

http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@5
PS3, Line 5: rt
> Kudu Quickstart Container? Environment?
Done


http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@33
PS3, Line 33: Docker
> nit: capitalize
Done


http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@62
PS3, Line 62: uild()
> missing semicolon
Done


http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@61
PS3, Line 61: KuduClient client =
            :   new 
KuduClientBuilder("kudu-master-1:7051,kudu-master-2:7151,kudu-master-3:7251").build();
            :
            : if(client.tableExists("random_user")) {
            :   client.deleteTable("random_user");
            : }
            :
            : Schema schema = new Schema(Arrays.asList(
            :   new ColumnSchemaBuilder("ssn", Type.STRING).key(true).build(),
            :   new ColumnSchemaBuilder("firstName", Type.STRING).build(),
            :   new ColumnSchemaBuilder("lastName", Type.STRING).build(),
            :   new ColumnSchemaBuilder("email", Type.STRING).build())
            : );
            : CreateTableOptions tableOptions =
            :   new 
CreateTableOptions().setNumReplicas(3).addHashPartitions(Arrays.asList("ssn"), 
4);
            : client.createTable("random_user", schema, tableOptions);
> Maybe wrap this in {}s so we can copy-paste it? per https://stackoverflow.c
This should be copy-pasteable as is.


http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@91
PS3, Line 91: `ssn`, `firstName`, `lastName`,
> nit: maybe put quotes around these?
Done


http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@98
PS3, Line 98: Then
> Then
Done


http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@102
PS3, Line 102: Once the template is added to the canvas you can start each 
processor by
             : right-clicking each processor and selecting `Start`. You can 
also explore
             : the configuration, queue contents, and more by right-clicking on 
each element.
             :
> This is where I got stuck running through these steps. Was there another pr
It looks like I exported the template wrong. I updated it. There should be 5 
processors total.


http://gerrit.cloudera.org:8080/#/c/13878/3/examples/quickstart/nifi/README.adoc@137
PS3, Line 137: le:
> nit: ... from within the Spark quickstart container
There isn't a Spark quickstart container because there wasn't a good Spark 
Docker image. I plan to make a good demo image at some point in the future, but 
the Spark quickstart actually runs Spark on the host machine.



--
To view, visit http://gerrit.cloudera.org:8080/13878
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I71f3bc5898c15d7bc19cffb3a91b9efac3f6928b
Gerrit-Change-Number: 13878
Gerrit-PatchSet: 4
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 18 Jul 2019 14:14:46 +0000
Gerrit-HasComments: Yes

Reply via email to