File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!-- -
2+ Licensed under the Apache License, Version 2.0 (the "License");
3+ you may not use this file except in compliance with the License.
4+ You may obtain a copy of the License at
5+
6+ http://www.apache.org/licenses/LICENSE-2.0
7+
8+ Unless required by applicable law or agreed to in writing, software
9+ distributed under the License is distributed on an "AS IS" BASIS,
10+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+ See the License for the specific language governing permissions and
12+ limitations under the License. See accompanying LICENSE file.
13+ -->
14+
15+ # Building
16+
17+ With maven, with profiles for many different hadoop versions.
18+
19+ To build a production release
20+ 1 . Use java8
21+ 1 . And compile against a shipping hadoop version, with ` -Pextra ` for the extra stuff
22+
23+
24+ ``` bash
25+ mvn clean install -Phadoop-3.3.2 -Pextra
26+ ```
27+
28+ To publish the release use the gui or the github command line
29+
30+ ``` bash
31+
32+ set -gx date 2023-03-03
33+ git add .
34+ git commit -m " release $date "
35+ git push
36+ gh release create tag-release-$date -t release-$date -n " versioning" -d target/cloudstore-1.0.jar
37+ ```
38+
39+ The version ` cloudstore-1.0.jar ` is always used, not just from laziness but because it allows
40+ for bash scripts to always be able fetch the latest version through curl then execute it.
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ kept out right now for various reasons
15153 . Ability to compile against older versions. We've currently switched to Hadoop 3.3+
1616 due to the need to make API calls and operations not in older versions.
1717
18- * Author* : Steve Loughran, Hadoop Committer, plus anyone else who has debugging needs
19-
18+ * Author* : Steve Loughran, Hadoop Committer, plus anyone else who has debugging needs.
19+
20+
2021## Features
2122
2223### Primarily: diagnostics
@@ -44,6 +45,13 @@ the output: we do not dare change the behaviour or output for this reason.
4445when things don't work. And object stores are fairly fussy to get working,
4546primarily due to authentication, classpath and network settings
4647
48+ ## See also
49+
50+ * [ Security] ( ./SECURITY.md )
51+ * [ Building] ( ./BUILDING.md )
52+
53+ # Command Index
54+
4755## Command ` storediag `
4856
4957The ` storediag ` entry point is designed to pick up the FS settings, dump them
Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ None. You are on your own. Sorry.
88
99* file an issue
1010* if you have a fix, file a PR
11+ * if the issue is in hadoop, file an apache JIRA.
12+ * if the issue is in an transient dependency of hadoop, see
13+ [ Transitive Issues] ( https://steveloughran.blogspot.com/2022/08/transitive-issues.html )
14+ then solve the entire software-versioning problem in java. please.
You can’t perform that action at this time.
0 commit comments