You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ka...@apache.org on 2015/08/12 05:42:15 UTC
storm git commit: corrected storm-hive README.md typos
Repository: storm
Updated Branches:
refs/heads/master c54cea116 -> b0baa638c
corrected storm-hive README.md typos
Author: Randy Gelhausen <rg...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/b0baa638
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/b0baa638
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/b0baa638
Branch: refs/heads/master
Commit: b0baa638c16f2806a850455d80dc8bbf2c9b9e29
Parents: c54cea1
Author: Randy Gelhausen <rg...@gmail.com>
Authored: Tue Aug 11 21:41:36 2015 -0400
Committer: Randy Gelhausen <rg...@gmail.com>
Committed: Tue Aug 11 21:46:17 2015 -0400
----------------------------------------------------------------------
external/storm-hive/README.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/b0baa638/external/storm-hive/README.md
----------------------------------------------------------------------
diff --git a/external/storm-hive/README.md b/external/storm-hive/README.md
index b16c390..ad7e993 100644
--- a/external/storm-hive/README.md
+++ b/external/storm-hive/README.md
@@ -5,7 +5,7 @@
is committed its immediately visible to all hive queries. More info on Hive Streaming API
https://cwiki.apache.org/confluence/display/Hive/Streaming+Data+Ingest
- With the help of Hive Streaming API , HiveBolt and HiveState allows users to stream data from storm into hive directly.
+ With the help of Hive Streaming API, HiveBolt and HiveState allows users to stream data from Storm into Hive directly.
To use Hive streaming API users need to create a bucketed table with ORC format. Example below
```code
@@ -15,10 +15,10 @@
## HiveBolt (org.apache.storm.hive.bolt.HiveBolt)
-HiveBolt streams tuples directly into hive. Tuples are written using Hive Transactions.
-Partiions to which HiveBolt will stream to can either created or pre-created or optionally
-HiveBolt can create them if they are missing. Fields from Tuples are mapped to table columns.
-User should make sure that Tuple filed names are matched to the table column names.
+HiveBolt streams tuples directly into Hive. Tuples are written using Hive Transactions.
+Partitions to which HiveBolt will stream to can either created or pre-created or optionally
+HiveBolt can create them if they are missing. Fields from Tuples are mapped to table columns.
+User should make sure that Tuple field names are matched to the table column names.
```java
DelimitedRecordHiveMapper mapper = new DelimitedRecordHiveMapper()
@@ -28,7 +28,7 @@ HiveBolt hiveBolt = new HiveBolt(hiveOptions);
```
### RecordHiveMapper
- This class maps Tuple filed names to Hive table column names.
+ This class maps Tuple field names to Hive table column names.
There are two implementaitons available
@@ -47,7 +47,7 @@ HiveBolt hiveBolt = new HiveBolt(hiveOptions);
|Arg | Description | Type
|--- |--- |---
-|withColumnFields| field names in a tuple to be mapped to table column names | Fileds (required) |
+|withColumnFields| field names in a tuple to be mapped to table column names | Fields (required) |
|withPartitionFields| field names in a tuple can be mapped to hive table partitions | Fields |
|withTimeAsPartitionField| users can select system time as partition in hive table| String . Date format|