You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2011/04/06 00:27:05 UTC

[jira] [Updated] (HIVE-1189) Add package-info.java to Hive

     [ https://issues.apache.org/jira/browse/HIVE-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-1189:
---------------------------------

    Component/s: Diagnosability

> Add package-info.java to Hive
> -----------------------------
>
>                 Key: HIVE-1189
>                 URL: https://issues.apache.org/jira/browse/HIVE-1189
>             Project: Hive
>          Issue Type: New Feature
>          Components: Build Infrastructure, Diagnosability
>    Affects Versions: 0.6.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-1189.1.patch
>
>
> Hadoop automatically generates build/src/org/apache/hadoop/package-info.java with information like this:
> {code}
> /*
>  * Generated by src/saveVersion.sh
>  */
> @HadoopVersionAnnotation(version="0.20.2-dev", revision="826568",
>                          user="zshao", date="Sun Oct 18 17:46:56 PDT 2009", url="http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20")
> package org.apache.hadoop;
> {code}
> Hive should do the same thing so that we can easily know the version of the code at runtime.
> This will help us identify whether we are still running the same version of Hive, if we serialize the plan and later continue the execution (See HIVE-1100).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira