hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5879) Fix spelling errors in hive-default.xml
Date Tue, 26 Nov 2013 11:27:37 GMT

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

Lefty Leverenz commented on HIVE-5879:
--------------------------------------

Is hive-default.xml derived directly from hive-default.xml.template?  Because the misspelled
form of "separate" occurs five times in hive-default.xml.template:

{quote}
trunk> grep -ni 'seperat' ./conf/hive-default.xml.template 
121:  <description>if hive is running in test mode, dont sample the above comma seperated
list of tables</description>
265:  <description>list of comma seperated listeners for metastore events.</description>
271:  <description>list of comma seperated keys occurring in table properties which
will get inherited to newly created partitions. * implies all the keys will get inherited.</description>
1519:  <description>Comma seperated list of non-SQL Hive commands users are authorized
to execute</description>
1525:  <description>Comma seperated list of configuration options which are immutable
at runtime</description>
{quote}

But also notice the missing apostrophe in the first hit:  dont.  So if we're going to fix
a few spelling errors, maybe we should fix as many as we can find.  And by "we" of course
I mean either a spellchecker or me, or both.

The good news is that "separate" is spelled correctly more often than not: 

{quote}
trunk> grep -i 'separat' ./conf/hive-default.xml.template | wc
      13     249    2129
{quote}

By the way, in the AdminManual Configuration wiki [Configuring Hive|https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfiguringHive]
says that hive-default.xml.template isn't used anymore.  But HiveConf.java doesn't include
definitions for config params, so does that mean the wiki is now the source of all usage wisdom?

> Fix spelling errors in hive-default.xml
> ---------------------------------------
>
>                 Key: HIVE-5879
>                 URL: https://issues.apache.org/jira/browse/HIVE-5879
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Brock Noland
>            Priority: Trivial
>
> See https://issues.apache.org/jira/browse/HIVE-5400?focusedCommentId=13830626&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13830626



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message