You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mj...@apache.org on 2017/03/22 19:04:34 UTC
[2/2] incubator-impala git commit: [DOCS] Genericize LZO setup
instructions
[DOCS] Genericize LZO setup instructions
Take out the Cloudera-specific download URLs
for the impala-lzo package.
Change-Id: Idea5a28a73287b6b3a023843ddada88204db7b1b
Reviewed-on: http://gerrit.cloudera.org:8080/6439
Reviewed-by: Jim Apple <jb...@apache.org>
Reviewed-by: John Russell <jr...@cloudera.com>
Tested-by: Impala Public Jenkins
Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/7592e332
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/7592e332
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/7592e332
Branch: refs/heads/master
Commit: 7592e332ad71a9e3c03af1d1d4a4130b9698cf66
Parents: 52ab7ce
Author: John Russell <jr...@cloudera.com>
Authored: Mon Mar 20 12:47:59 2017 -0700
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Wed Mar 22 17:44:28 2017 +0000
----------------------------------------------------------------------
docs/topics/impala_incompatible_changes.xml | 2 +-
docs/topics/impala_txtfile.xml | 33 +++---------------------
2 files changed, 4 insertions(+), 31 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/7592e332/docs/topics/impala_incompatible_changes.xml
----------------------------------------------------------------------
diff --git a/docs/topics/impala_incompatible_changes.xml b/docs/topics/impala_incompatible_changes.xml
index e41fbb0..bb4c434 100644
--- a/docs/topics/impala_incompatible_changes.xml
+++ b/docs/topics/impala_incompatible_changes.xml
@@ -1353,7 +1353,7 @@ ALTER TABLE <varname>table_name</varname> SET FILEFORMAT
<ul>
<li>
If you use LZO-compressed text files, when you upgrade Impala to version 1.0, also update the
- <codeph>impala-lzo-cdh4</codeph> to the latest level. See <xref href="impala_txtfile.xml#lzo"/> for
+ Impala LZO package to the latest level. See <xref href="impala_txtfile.xml#lzo"/> for
details.
</li>
</ul>
http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/7592e332/docs/topics/impala_txtfile.xml
----------------------------------------------------------------------
diff --git a/docs/topics/impala_txtfile.xml b/docs/topics/impala_txtfile.xml
index 3b676d2..3c09b80 100644
--- a/docs/topics/impala_txtfile.xml
+++ b/docs/topics/impala_txtfile.xml
@@ -486,34 +486,7 @@ INSERT INTO csv SELECT * FROM other_file_format_table;</codeblock>
<p>
Download and install the appropriate file to each machine on which you intend to use LZO with Impala.
- These files all come from
- <xref keyref="gplextras">this GPL extras</xref> download site. Install the:
</p>
- <ul>
- <li>
- <xref keyref="gplextras_rhel5">Red Hat 5 repo file</xref> to <filepath>/etc/yum.repos.d/</filepath>.
- </li>
-
- <li>
- <xref keyref="gplextras_rhel6">Red Hat 6 repo file</xref> to <filepath>/etc/yum.repos.d/</filepath>.
- </li>
-
- <li>
- <xref keyref="gplextras_sles11">SUSE repo file</xref> to <filepath>/etc/zypp/repos.d/</filepath>.
- </li>
-
- <li>
- <xref keyref="gplextras_ubuntu_lucid">Ubuntu 10.04 list file</xref> to <filepath>/etc/apt/sources.list.d/</filepath>.
- </li>
-
- <li>
- <xref keyref="gplextras_ubuntu_precise">Ubuntu 12.04 list file</xref> to <filepath>/etc/apt/sources.list.d/</filepath>.
- </li>
-
- <li>
- <xref keyref="gplextras_debian_squeeze">Debian list file</xref> to <filepath>/etc/apt/sources.list.d/</filepath>.
- </li>
- </ul>
</li>
<li>
@@ -551,7 +524,7 @@ $ sudo apt-get install hadoop-lzo
$ sudo apt-get install impala-lzo</codeblock>
<note>
<p>
- The level of the <codeph>impala-lzo-cdh4</codeph> package is closely tied to the version of Impala
+ The level of the <codeph>impala-lzo</codeph> package is closely tied to the version of Impala
you use. Any time you upgrade Impala, re-do the installation command for
<codeph>impala-lzo</codeph> on each applicable machine to make sure you have the appropriate
version of that package.
@@ -652,8 +625,8 @@ hive> INSERT INTO TABLE lzo_t SELECT col1, col2 FROM uncompressed_text_table;
Run the indexer using a command like the following:
</p>
-<codeblock>$ hadoop jar /usr/lib/hadoop/lib/hadoop-lzo-cdh4-0.4.15-gplextras.jar
- com.hadoop.compression.lzo.DistributedLzoIndexer /hdfs_location_of_table/</codeblock>
+<codeblock>$ hadoop jar /usr/lib/hadoop/lib/hadoop-lzo-<varname>version</varname>-gplextras.jar
+ com.hadoop.compression.lzo.DistributedLzoIndexer /<varname>hdfs_location_of_table</varname>/</codeblock>
<note>
If the path of the JAR file in the preceding example is not recognized, do a <cmdname>find</cmdname>