[
https://issues.apache.org/jira/browse/HIVE-29755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hemanth Umashankar updated HIVE-29755:
--------------------------------------
Description:
The Hive codebase contains source files with license headers that do not
conform to the ASF Source Header Policy. These headers should be updated to use
the standard ASF license header format defined by the ASF Source Header Policy:
[https://www.apache.org/legal/src-headers.html]
The non-conforming headers fall into the following categories:
* *Shortened license header (missing ASF contributor-license preamble)*
** Uses the abbreviated Apache License header (beginning with {_}"Licensed
under the Apache License, Version 2.0"{_}) instead of the standard ASF source
header.
** Some files also contain an unnecessary blank comment line immediately after
`/*`.
** Example:
[jdbc-handler/src/test/java/org/apache/hive/storage/jdbc/TestJdbcInputFormat.java|https://github.com/apache/hive/blob/master/jdbc-handler/src/test/java/org/apache/hive/storage/jdbc/TestJdbcInputFormat.java]
* *Use of `<p/>` tags in the license header*
** Replaces blank comment lines with HTML `<p/>` tags around the license URL
instead of the standard ASF formatting.
** Example:
[itests/hive-unit/src/test/java/org/apache/hive/jdbc/ReadableHook.java|https://github.com/apache/hive/blob/master/itests/hive-unit/src/test/java/org/apache/hive/jdbc/ReadableHook.java]
* *Extra blank comment line after the opening comment*
** The license text is otherwise correct, but an unnecessary blank comment
line appears immediately after the opening `/*`.
** Example:
[hplsql/src/main/java/org/apache/hive/hplsql/HplSqlSessionState.java|https://github.com/apache/hive/blob/master/hplsql/src/main/java/org/apache/hive/hplsql/HplSqlSessionState.java]
h3. Out of scope
The following files should not be modified as part of this work:
* Generated Thrift and Protocol Buffer source files.
* Third-party source files that retain their original upstream license headers.
was:
h3. Description
The Hive codebase contains source files with license headers that do not
conform to the ASF Source Header Policy. These headers should be updated to use
the standard ASF license header format defined by the ASF Source Header Policy:
[https://www.apache.org/legal/src-headers.html]
The non-conforming headers fall into the following categories:
* *Shortened license header (missing ASF contributor-license preamble)*
** Uses the abbreviated Apache License header (beginning with _"Licensed under
the Apache License, Version 2.0"_) instead of the standard ASF source header.
** Some files also contain an unnecessary blank comment line immediately after
`/*`.
** Example:
[jdbc-handler/src/test/java/org/apache/hive/storage/jdbc/TestJdbcInputFormat.java|https://github.com/apache/hive/blob/master/jdbc-handler/src/test/java/org/apache/hive/storage/jdbc/TestJdbcInputFormat.java]
* *Use of `<p/>` tags in the license header*
** Replaces blank comment lines with HTML `<p/>` tags around the license URL
instead of the standard ASF formatting.
** Example:
[itests/hive-unit/src/test/java/org/apache/hive/jdbc/ReadableHook.java|https://github.com/apache/hive/blob/master/itests/hive-unit/src/test/java/org/apache/hive/jdbc/ReadableHook.java]
* *Extra blank comment line after the opening comment*
** The license text is otherwise correct, but an unnecessary blank comment line
appears immediately after the opening `/*`.
** Example:
[hplsql/src/main/java/org/apache/hive/hplsql/HplSqlSessionState.java|https://github.com/apache/hive/blob/master/hplsql/src/main/java/org/apache/hive/hplsql/HplSqlSessionState.java]
h3. Out of scope
The following files should not be modified as part of this work:
* Generated Thrift and Protocol Buffer source files.
* Third-party source files that retain their original upstream license headers.
> Standardize ASF license headers across Hive source files
> --------------------------------------------------------
>
> Key: HIVE-29755
> URL: https://issues.apache.org/jira/browse/HIVE-29755
> Project: Hive
> Issue Type: Improvement
> Components: Build Infrastructure
> Reporter: Hemanth Umashankar
> Priority: Minor
> Labels: cleanup, newbie
>
> The Hive codebase contains source files with license headers that do not
> conform to the ASF Source Header Policy. These headers should be updated to
> use the standard ASF license header format defined by the ASF Source Header
> Policy:
> [https://www.apache.org/legal/src-headers.html]
> The non-conforming headers fall into the following categories:
> * *Shortened license header (missing ASF contributor-license preamble)*
> ** Uses the abbreviated Apache License header (beginning with {_}"Licensed
> under the Apache License, Version 2.0"{_}) instead of the standard ASF source
> header.
> ** Some files also contain an unnecessary blank comment line immediately
> after `/*`.
> ** Example:
> [jdbc-handler/src/test/java/org/apache/hive/storage/jdbc/TestJdbcInputFormat.java|https://github.com/apache/hive/blob/master/jdbc-handler/src/test/java/org/apache/hive/storage/jdbc/TestJdbcInputFormat.java]
> * *Use of `<p/>` tags in the license header*
> ** Replaces blank comment lines with HTML `<p/>` tags around the license URL
> instead of the standard ASF formatting.
> ** Example:
> [itests/hive-unit/src/test/java/org/apache/hive/jdbc/ReadableHook.java|https://github.com/apache/hive/blob/master/itests/hive-unit/src/test/java/org/apache/hive/jdbc/ReadableHook.java]
> * *Extra blank comment line after the opening comment*
> ** The license text is otherwise correct, but an unnecessary blank comment
> line appears immediately after the opening `/*`.
> ** Example:
> [hplsql/src/main/java/org/apache/hive/hplsql/HplSqlSessionState.java|https://github.com/apache/hive/blob/master/hplsql/src/main/java/org/apache/hive/hplsql/HplSqlSessionState.java]
> h3. Out of scope
> The following files should not be modified as part of this work:
> * Generated Thrift and Protocol Buffer source files.
> * Third-party source files that retain their original upstream license
> headers.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)