Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AlluxioCosException #18419

Closed
wants to merge 335 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
ee6c23f
Add metrics for in memory data structures
tcrain Jan 26, 2023
e81b610
[DOCFIX] Update new contributor doc
jja725 Jan 26, 2023
0b4796f
Refactor s3 low level output stream and support OSS and OBS
qian0817 Jan 27, 2023
58f1f96
Fix s3 client
jja725 Jan 27, 2023
6a238d1
Make s3 client not final
jja725 Jan 27, 2023
fb07ea4
Fix debug log in FileSystemContext#reinit()
kaijchen Jan 30, 2023
98dba4d
Add buildx support for build-docker.sh
JySongWithZhangCe Jan 30, 2023
c1064d5
Add examples for Alluxio Native API, Hadoop Compatible FS and HDFS
huanghua78 Jan 31, 2023
379b163
[DOCFIX] Fix links to java file examples in Java-API.md
Xenorith Feb 1, 2023
ee9aa24
[DOCFIX] Fix some cn client-metric table wording
voddle Feb 1, 2023
530e720
Add the two-choice random cache eviction policy
ChunxuTang Feb 1, 2023
325f36a
Support gRPC on standby masters
elega Feb 2, 2023
506a0f4
Merge local cache invalidation
ChunxuTang Feb 2, 2023
6ca7d15
Add cache TTL enforcement
ChunxuTang Feb 3, 2023
407cf15
Fix updated config not notifying config registry
maobaolong Feb 3, 2023
7f6baa3
Support dynamic update HeartbeatThread tick interval
maobaolong Feb 3, 2023
12f1e8b
Fix the flaky test in the two-choice random cache eviction policy
ChunxuTang Feb 6, 2023
7ab2579
Merge delete requests to Optimize move directory perf on objectstore
qian0817 Feb 7, 2023
bac52c4
Reduce log level to debug for Page Not Found
huanghua78 Feb 8, 2023
778f9ec
Support rm directory and reset DirectChildrenLoadedState
maobaolong Feb 10, 2023
f3eca21
Introduce a rearchitectured S3 proxy service
lucyge2022 Feb 10, 2023
7399c38
Make version service return unavailable on standby masters
elega Feb 13, 2023
ff63c97
Bump hadoop-common from 3.2.1 to 3.2.4 in /examples
dependabot[bot] Feb 13, 2023
782b38c
Replace ManagementFactoryHelper with ManagementFactory for java11
yyongycy Feb 14, 2023
6400f4c
Support Maven reproducible builds
tieujason330 Feb 15, 2023
99923c6
Reduce useless async cache request when read from remote worker
qian0817 Feb 15, 2023
6e8e0dc
Remove hardcoded version dependency in examples module
maobaolong Feb 15, 2023
dc41fb1
[DOCFIX] Update cn version of Upgrade doc
voddle Feb 15, 2023
60d5156
Fix Worker.ActiveClients is negative when load from ufs
flaming-archer Feb 15, 2023
aea58cd
Add maven build dockerfile with jdk17
Xenorith Feb 15, 2023
00da77c
Fix file fingerprint to use atomic get content hash of uploaded file
tcrain Feb 16, 2023
47320b6
Update retry policy for object stores
tcrain Feb 16, 2023
d30fddc
Add embedded journal support for LocalAlluxioCluster
elega Feb 16, 2023
da6abf7
Add allowOnStandbyMasters option for version grpc endpoint
elega Feb 16, 2023
6f101b1
[SMALLFIX] Add a missing javadoc param
bzheng888 Feb 16, 2023
7aa8b6c
Change default TTL action from DELETE to DELETE_ALLUXIO
ssyssy Feb 16, 2023
ebeac49
Make workers register to all masters
elega Feb 17, 2023
fa2d16f
[DOCFIX] Update cn version of Spark on Kubernetes doc
007DXR Feb 17, 2023
987feaf
[SMALLFIX] Correct version name in comment
humengyu2012 Feb 17, 2023
817a3c4
[SMALLFIX] Fix a few typos in comment
Haoning-Sun Feb 21, 2023
d28e933
[SMALLFIX] Fix Alluxio/new-contributor-tasks#624
nand-porko Feb 21, 2023
16ff653
Support overwrite option in createFile
Jackson-Wang-7 Feb 21, 2023
ea9d10c
Fix typo in S3Exception
Haoning-Sun Feb 21, 2023
f90ccab
Add WorkerInfoField test in CapacityCommandTest
YichuanSun Feb 21, 2023
f9cb6df
Add local read benchmarks for PagedBlockStore
YangchenYe323 Feb 21, 2023
73f3ce8
Add metrics sink to job master
ssyssy Feb 21, 2023
f0e9a5d
Add rate limit for s3 proxy
humengyu2012 Feb 22, 2023
ff0a6da
Fix free worker command bugs
YichuanSun Feb 22, 2023
c4a7007
Fix head and tail commands read less than expected
dbw9580 Feb 22, 2023
903269f
Implement unbuffer interface for HdfsFileInputStream
qian0817 Feb 23, 2023
a5d57e9
Make standby master keep MountTable up-to-date
codings-dan Feb 23, 2023
c148612
Add CapacityBasedDeterministicHashPolicy
dbw9580 Feb 23, 2023
a02c5f6
Fix incorrect flag passing into delete op
lucyge2022 Feb 23, 2023
8ef0a4d
Fix metadata sync behavior when descendant type is NONE
elega Feb 24, 2023
669f80e
Support remove blocks on worker for pagestore when free/delete file
fffanyang Feb 24, 2023
cbff62a
Fix the client stressbench concurrency problem
bzheng888 Feb 24, 2023
7ee4b74
[DOCFIX] Fix the wrong option in stress bench doc
bzheng888 Feb 24, 2023
c4b9ecf
Fix build error when revision is shorter than 8 chars
maobaolong Feb 26, 2023
3f8c79c
Improve LS by allowing to omit UFS and mount info
flaming-archer Feb 26, 2023
db462bd
Bump golang.org/x/net to 0.7.0 in /integration/docker/csi
dependabot[bot] Feb 27, 2023
492cc7c
Respect MaxRamPercentage in container
ssz1997 Feb 28, 2023
02bc22c
Remove the restriction of UFS for local cache
beinan Feb 28, 2023
fb9e88d
Support display master system status from master ui
wenfang6 Feb 28, 2023
8502fbf
Display more information in WebUI Masters
kaijchen Feb 28, 2023
d231f01
Revert CSI package upgrade
ssz1997 Feb 28, 2023
db67254
Update registry for CSI images
ssz1997 Mar 1, 2023
38bf6fe
[DOCFIX] Fix docGen and update config/metrics
kimsu98 Mar 1, 2023
163b3ff
Add a property to disable file access time
elega Mar 2, 2023
df0ae1e
Enhance the capacity report to show worker registration info
elega Mar 2, 2023
49a0a55
[DOCFIX] Correct docs about Ratis
kaijchen Mar 2, 2023
1bf26fa
Update ci version
fengshunli Mar 2, 2023
b70c795
Update helm chart ChangeLog and Chart
ssz1997 Mar 2, 2023
6549699
Improve state lock tracking and report on error
jiacheliu3 Mar 3, 2023
4af81fa
[DOCFIX] Add docs for fs loadMetadata cmd
Xenorith Mar 3, 2023
eee4bd3
Fix jsoup CVE-2021-37714
fengshunli Mar 3, 2023
5436fef
Update operator for README.md
fengshunli Mar 3, 2023
82700c0
[DOCFIX] Fix some errors occurred when formatting alluxio
jianghuazhu Mar 6, 2023
5bd5cb2
[DOCFIX] Add OpenSSF Scorecard for README.md
fengshunli Mar 6, 2023
5cc79da
Update metrics/README.md
fengshunli Mar 6, 2023
0ca2b53
Reduce time cost of checking bucket path in S3 API
007DXR Mar 6, 2023
6c53027
Bump go from 1.13 to 1.18
fengshunli Mar 6, 2023
201672f
Bump jsoup from 1.14.2 to 1.15.3 in /underfs/web
dependabot[bot] Mar 6, 2023
7f2f15a
Enable v2 s3 proxy by default
lucyge2022 Mar 6, 2023
a6f3393
Bump golang.org/x/text to 0.3.8 in integration/kubernetes/operator
dependabot[bot] Mar 6, 2023
bb2eb3a
Add new line at EOF
ssz1997 Mar 6, 2023
f9d4ad8
Bump golang.org/x/crypto to 0.1.0 in /integration/kubernetes/operator/
dependabot[bot] Mar 6, 2023
b75a7d3
Bump golang.org/x/net to 0.7.0 in /integration/kubernetes/operator/
dependabot[bot] Mar 6, 2023
0645ea8
Cache Block Location to save memory
elega Mar 7, 2023
7d71892
Fix jackson CVE-2022-42003
fengshunli Mar 7, 2023
0fd418a
[SMALLFIX] Add a missing mediumType in test mocking worker register
jiacheliu3 Mar 8, 2023
c9ed634
Remove HdfsUnderFileSystemFactory from service loading in COSN UFS jar
Haoning-Sun Mar 8, 2023
ba0ce14
[DOCFIX] Update tensorflow script link
ssz1997 Mar 9, 2023
ce54336
Set ttlaction back to free
ssyssy Mar 9, 2023
5425c29
Fix fuse metadata command ClassCastException
humengyu2012 Mar 9, 2023
1c326ec
Fix UT of alluxio.master.transport.GrpcMessagingTransportTest
huanghua78 Mar 9, 2023
2766440
Support getBlockInfo excluding mount-related info
flaming-archer Mar 9, 2023
952bd4b
Merge journal context in LostFileDetector
jiacheliu3 Mar 9, 2023
cb20ccd
Merge JournalContext for persistence
jiacheliu3 Mar 9, 2023
8edf508
Refactor LoadManager to Scheduler
jja725 Mar 10, 2023
ace82a4
Add LoadMetadata and CreateTree operation to StressMasterBench
voddle Mar 10, 2023
cb8d7ca
Make getTimeoutMs of WaitForOptions return long type
codings-dan Mar 10, 2023
7313853
Fix setTtl workflow and ttlbucket bugs
lucyge2022 Mar 13, 2023
dcad6b0
Add test coverage on multipart upload
lucyge2022 Mar 14, 2023
f8d3e48
Remove System.out.println
humengyu2012 Mar 14, 2023
6bbe713
Fix metadata sync journalling when using UFS journal
tcrain Mar 15, 2023
9ae7190
Improve thread dump format to match jstack
voddle Mar 15, 2023
e106cc8
Add request proto to add copy job
jja725 Mar 15, 2023
cbf24bf
Fix retry function and S3 abort upload
tcrain Mar 16, 2023
b59df3c
Fix content hash for GCS v2 stream
tcrain Mar 16, 2023
8e08e77
Remove some unused code in AlluxioMasterRestServiceHandler
jianghuazhu Mar 16, 2023
71521f6
Add abstract job
jja725 Mar 16, 2023
73b4d67
Add metric for cached block location
maobaolong Mar 17, 2023
fd73507
Fix property identity typo error
Jackson-Wang-7 Mar 17, 2023
7f33546
Dump metrics + stacks on failover/crash
jiacheliu3 Mar 19, 2023
57c078c
Fix file system merge journal context
elega Mar 20, 2023
a5cf2a2
Fix NPE for s3 proxy v2
humengyu2012 Mar 20, 2023
b7866e4
Refactor collectMetrics command
ssz1997 Mar 20, 2023
1ad1cc9
Bump CSI package version to fix security alert
ssz1997 Mar 20, 2023
86d720f
[DOCFIX] Fix Azure Data Lake Gen2 doc broken link
tieujason330 Mar 20, 2023
d680e56
Introduce S3 mock server to enhance unit testing
elega Mar 21, 2023
9532ce0
Fix collectMetrics command in k8s
ssz1997 Mar 21, 2023
65ed1bb
Make light and heavy thread pool configurable for s3 proxy v2
humengyu2012 Mar 21, 2023
9c1f000
Fix dependencies conflicts thrown by trino
JiamingMai Mar 22, 2023
595a55a
Add more details in Log4j default settings
lucyge2022 Mar 22, 2023
b16a3fb
Add UseContainerSupport flag to default value.yaml of k8s helm chart
maobaolong Mar 22, 2023
a95d3de
[DOCFIX] Update generated tables with docGen
Xenorith Mar 23, 2023
88c88b7
Fix stress create tree file number
voddle Mar 29, 2023
fee8779
[SMALLFIX] Improve stressbench result variable name
voddle Mar 29, 2023
e3955bd
Remove duplicate word in comments
Haoning-Sun Mar 30, 2023
50c4c29
Add worker decommission step 1
bzheng888 Mar 30, 2023
a600f12
Check filesystem for mount point
Haoning-Sun Mar 31, 2023
875f3f2
Avoid getting meta sync lock if no need
secfree Mar 31, 2023
db9a763
Fix the issue where runTest ignores arguments
lovewin99 Mar 31, 2023
aee3c5c
Support executing runTests on specific workers
elega Mar 31, 2023
4435584
Fix double counting job success when restore job from journal
jja725 Apr 3, 2023
9f75888
Add usage info for omit-mount-info
Haoning-Sun Apr 4, 2023
922b2a8
[SMALLFIX] Delete duplicate words
humengyu2012 Apr 4, 2023
aeae6ae
[DOCFIX]Fix some bugs related to Caching.md
jianghuazhu Apr 4, 2023
d79aa75
Print exception stack in s3 proxy
humengyu2012 Apr 4, 2023
79a7b4d
Fix double arg parsing in runTests
Xenorith Apr 6, 2023
9a4e154
Show master versions in fsadmin report command
elega Apr 10, 2023
01bfecc
Fix CopyObject writetype and unclosed outstream in InitiateMPUpload
lucyge2022 Apr 10, 2023
8cbcbcd
Enhance embedded journal checkpointing significantly
jenoudet Apr 11, 2023
5f17042
Skip ssh for localhost
secfree Apr 12, 2023
075e4e4
Prevent unrelated property keys from generating in docGen
Xenorith Apr 14, 2023
fd19fb6
Support cron timer to arrange the period heartbeat executor invoke time
maobaolong Apr 14, 2023
e4499ae
Show the invalid default value and key name
maobaolong Apr 14, 2023
f7e811c
Improve the performance of MountTable.getMountPoint
secfree Apr 17, 2023
46270b8
Enable bucket cache in v2 s3 proxy
007DXR Apr 18, 2023
9f152c5
Fix Rocksdb thread safety using refcount(no lock)
jiacheliu3 Apr 19, 2023
cbf543a
[DOCFIX] Update generated tables with docGen
Xenorith Apr 19, 2023
208cb96
Fix the aggregate result problem in UfsIOBench
bzheng888 Apr 19, 2023
bf60aef
[SMALLFIX] Remove unintended trace
jiacheliu3 Apr 19, 2023
e0a33e5
Use SlidingTimeWindow Moving Average for meter computation
yuzhu Apr 19, 2023
94429ed
Skip unrelated property keys from generating in docGen pt2
Xenorith Apr 19, 2023
5892512
Integrate ratis-shell to the alluxio tarball
codings-dan Apr 19, 2023
a578ca2
[DOCFIX] Add newline at EOF
ssz1997 Apr 19, 2023
5e358fc
Fix FileSystemMergeJournalContext related
elega Apr 20, 2023
e5fd12e
Print journal system information to help diagnose stop reason
maobaolong Apr 21, 2023
4ad6185
Do not pass sync interval by default
maobaolong Apr 22, 2023
dbac084
Improve proxy register functionality and command
jiacheliu3 Apr 25, 2023
092703f
Fix infinite recursion with RefCountedNioByteBuf.setBytes
dbw9580 Apr 25, 2023
8da5953
Fix JobServiceMetricsCommandTest
jiacheliu3 Apr 25, 2023
32f923e
Support getting real content hash from hdfs when using getFileStatus
jja725 Apr 27, 2023
764d3c8
Avoid null when using BlockMasterClientPool
Haoning-Sun Apr 27, 2023
141ee0e
Support gracefully shutdown worker
jiacheliu3 Apr 27, 2023
26257e6
Make capacity command show worker state
jiacheliu3 Apr 28, 2023
7a378dc
Reduce redundant calls in getObject of S3 API
007DXR Apr 28, 2023
1ad9b4e
Fix the Eof error when parse the Complete MPU
Jackson-Wang-7 Apr 29, 2023
f575e4f
Fix the active rpc metrics
Kai-Zhang May 6, 2023
8a4e579
Support range copy in copyObject and copyPart
Jackson-Wang-7 May 8, 2023
912cf52
[DOCFIX] Add docs for rolling upgrade and decommission worker
jiacheliu3 May 8, 2023
abf9e6c
Avoid the NPE exception in copy object with x-amz-tagging-directive
Jackson-Wang-7 May 8, 2023
71bd202
Implement metadata sync V2
elega May 9, 2023
0e03c65
Fix startup master health check
jenoudet May 9, 2023
b7804f7
Remove s3 handler map in s3 proxy
humengyu2012 May 9, 2023
4238c5f
Fix verbose config deprecation warning
dbw9580 May 10, 2023
ea7ac65
Fix s3 force path style
elega May 11, 2023
b7bf178
Support display config hash and timestamp in web page
maobaolong May 12, 2023
d21a37b
Support print xattr for stat command
maobaolong May 12, 2023
b6adbf0
Support config obs configuration from mount option
maobaolong May 12, 2023
f027447
Make the client poll the master concurrently
qian0817 May 12, 2023
69be372
Cache block worker metrics
voddle May 16, 2023
b415e02
Use local conf to create filesystem for s3proxy
humengyu2012 May 16, 2023
ca92441
[DOCFIX] Remove rolling upgrade from docs
Xenorith May 18, 2023
943aa24
Fix Xmx check
ssz1997 May 19, 2023
a8c0ecd
Avoid unnecessary config update checks
qian0817 May 19, 2023
07f03eb
Fix CCE for metric system
maobaolong May 22, 2023
0e39a2d
Support changing log level at runtime for alluxio-fuse
secfree May 23, 2023
d23b8ca
Improve monitor script printout
jiacheliu3 May 26, 2023
812855f
Fix a bug that creates 0 byte block file mistakenly
apc999 May 26, 2023
9d2f9cf
Cleanup HADOOP1 support
maobaolong May 26, 2023
68ac842
Call needsCache in LocalCacheFileSystem
secfree May 30, 2023
81b8716
Remove unnecessary inode.isComplete() check from completeFile()
elega May 31, 2023
4a57bab
Deprecate some Raft journal RPCs
jenoudet May 31, 2023
93ef64a
Fix LocalPageStore NPE
secfree Jun 5, 2023
9813817
[DOCFIX]Update cn version of docs/_data/table/cn/master-metrics.yml
Jun 8, 2023
2920169
[DOCFIX] Update cn version of OSS doc
Jun 8, 2023
dbf4138
[DOCFIX] Update cn version of Azure-Data-Lake-Gen2 doc
Jun 8, 2023
33ad481
[DOCFIX] Update cn version of Azure-Data-Lake doc
Jun 8, 2023
9f5c74e
[DOCFIX] Update cn version of Deep-Leaning doc
Jun 8, 2023
0024a9e
Fix some incorrect code in WorkerWebUILogs
jianghuazhu Jun 9, 2023
fbc0185
Add some logs when the standby master send a heartbeat request
jianghuazhu Jun 9, 2023
dcde424
[DOCFIX]Improve annotations in DefaultMetaMaster add some @links
jianghuazhu Jun 9, 2023
a84b6e6
Bump ratis version to 2.5.1
kaijchen Jun 9, 2023
06ffdd5
[DOCFIX] Remove table operations from user CLI docs
dbw9580 Jun 9, 2023
87ddfd4
Fix corrupted block causing reads to fail
dbw9580 Jun 12, 2023
73e20ca
[DOCFIX] Improve desc on write type THROUGH
lzy-a Jun 14, 2023
da97d73
[DOCFIX] Fix some descriptions related to the FileSystemMaster module
jianghuazhu Jun 16, 2023
f6632c9
Support SteppingThreadSleeper
maobaolong Jun 16, 2023
545ecd4
Fix S3 UFS executor service thread leak
tcrain Jun 16, 2023
ec066dc
Simplify `elect` command
alluxio-bot Jun 27, 2023
1e5eebe
Fix deadlock issue when master process exit
codings-dan Jun 30, 2023
cfcda18
Fix local cache identifier to solve the local cache consistent issue
secfree Jul 3, 2023
73cea83
[DOCFIX] Fix doc errors for Tencent Cloud EMR
wheatxiong Jul 10, 2023
c237203
[SMALLFIX] Use field property for 'AbstractCmdRunner'
iAlaska Jul 11, 2023
2b83d95
Fix memory leaking when loading data
Haoning-Sun Jul 13, 2023
a2e5ea5
Simplify `elect` command
alluxio-bot Jul 13, 2023
c34dd16
Remove rocks page store log
maobaolong Jul 17, 2023
1b2868e
Fix to support mount fuse do not report error on macosx
maobaolong Jul 17, 2023
cb2d994
Close client when heartbeat executor closed
maobaolong Jul 17, 2023
f3d1af8
Support getFileBlockLocation in LocalCacheFileSystem
maobaolong Jul 24, 2023
384ec43
Support dynamic enable/disable audit log
maobaolong Jul 28, 2023
c600830
Set min replicate to 0 and unpin file if we fail to replicate a file
yuzhu Aug 1, 2023
bad4a2a
Bump grpc & netty version
maobaolong Aug 1, 2023
9a9c80b
Add hadoop3 jar to the artifacts
Kai-Zhang Sep 1, 2023
15b1625
Fix a deadlock in FileSystemContext
apc999 Sep 5, 2023
27fb4c1
Handle any version string for summarycommandtest
tieujason330 Sep 6, 2023
3f67341
Provide a way to support listening only for modified PropertyKey
maobaolong Sep 8, 2023
e50baf5
Support read bytebuffer for non ByteBufferReadable input stream
maobaolong Sep 8, 2023
6a3dcc1
Retry requiring the buffer when there is insufficient resources
Haoning-Sun Sep 8, 2023
f30a2e1
Check for more results when the filtered result is empty
Haoning-Sun Sep 14, 2023
a6eef7d
Revert "Bump ratis version to 2.5.1"
maobaolong Sep 21, 2023
75ff844
Support display all log files on web UI
maobaolong Sep 23, 2023
957049e
Support unmount and remount in one atomic operation
maobaolong Sep 23, 2023
fc003ed
Add worker rejected cache block request metrics
qian0817 Sep 25, 2023
263b96f
Add worker vCPU info to fsadmin report capacity command
Xenorith Sep 29, 2023
f1cec16
Support Mkdir/CreateFile with configured default umask in HDFS API
Jackson-Wang-7 Oct 10, 2023
15a333a
Get User/Group/Permission of existed objects in OSS ufs
Jackson-Wang-7 Oct 11, 2023
87ddb3c
Check cluster ufs version in getClusterConf
Haoning-Sun Oct 13, 2023
057804e
Change CosNUnderFileSystemFactory implementation UnderFileSystemFactory
gp1314 Oct 17, 2023
5fee8fb
Fix cosn ufs cannot find class
maobaolong Oct 27, 2023
b37a96d
Fix cacheMissPercentage metric
juanjuan2 Oct 27, 2023
f00399f
Bump hadoop version to 3.3.4
fengshunli Oct 30, 2023
297982b
Use correct audit log configuration in proxy
Haoning-Sun Nov 4, 2023
66ca4b6
Fix getConf bugs when it comes across warning
YichuanSun Nov 6, 2023
045a511
Add direct access option to avoid caching certain paths
yuzhu Nov 6, 2023
5de2b54
fix empty block location
dbw9580 Nov 7, 2023
b258340
Fix empty block location (#18385)
beinan Nov 9, 2023
3def52d
add AlluxioCosException
pkuweblab Nov 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: Cache local Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -41,7 +41,7 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: artifact
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fuse_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -50,7 +50,7 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: artifact
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/java8_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -63,7 +63,7 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: artifact
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/java8_integration_tests_ft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -55,7 +55,7 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: artifact
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/java8_integration_tests_webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -51,7 +51,7 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: artifact
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/java8_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: artifact
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "Mark stale issues and PRs"
on:
schedule:
# Run the stalebot every day at 3pm UTC
- cron: "00 15 * * *"

permissions:
contents: read

jobs:
stale:
permissions:
issues: write # for writing stale message
pull-requests: write # for writing stale message
runs-on: ubuntu-22.04
if: github.repository == 'alluxio/alluxio'
steps:
- uses: actions/stale@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true # old issues/PRs first
operations-per-run: 1000 # default is 30, enlarge for dealing with more issues/PRs
days-before-stale: 30
days-before-close: -1
stale-issue-message: >
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in two weeks if no further activity occurs.
Thank you for your contributions.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed in two weeks if no further activity occurs.
Thank you for your contributions.
stale-pr-label: "stale"
stale-issue-label: "stale"
exempt-issue-labels: "keepalive,priority-high"
exempt-pr-labels: "keepalive,priority-high"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Release](https://img.shields.io/github/release/alluxio/alluxio/all.svg)](https://www.alluxio.io/download)
[![Docker Pulls](https://img.shields.io/docker/pulls/alluxio/alluxio.svg)](https://hub.docker.com/r/alluxio/alluxio)
[![Documentation](https://img.shields.io/badge/docs-reference-blue.svg)](https://www.alluxio.io/docs)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/Alluxio/alluxio/badge)](https://api.securityscorecards.dev/projects/github.com/Alluxio/alluxio)
[![Twitter Follow](https://img.shields.io/twitter/follow/alluxio.svg?label=Follow&style=social)](https://twitter.com/intent/follow?screen_name=alluxio)
[![License](https://img.shields.io/github/license/alluxio/alluxio.svg)](https://github.com/Alluxio/alluxio/blob/master/LICENSE)

Expand Down
6 changes: 6 additions & 0 deletions bin/alluxio
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function printUsage {
echo -e " bootstrapConf \t Generate a config file if one doesn't exist"
echo -e " fs \t Command line tool for interacting with the Alluxio filesystem."
echo -e " fsadmin \t Command line tool for use by Alluxio filesystem admins."
echo -e " table \t (deprecated) Command line tool for interacting with the Alluxio table service."
echo -e " getConf [key] \t Look up a configuration key, or print all configuration."
echo -e " job \t Command line tool for interacting with the job service."
echo -e " logLevel \t Set or get log level of Alluxio servers."
Expand Down Expand Up @@ -294,6 +295,11 @@ function main {
CLASSPATH=${ALLUXIO_CLIENT_CLASSPATH}
runJavaClass "$@"
;;
"table")
CLASS="alluxio.cli.table.TableShell"
CLASSPATH=${ALLUXIO_CLIENT_CLASSPATH}
runJavaClass "$@"
;;
"logLevel")
CLASS="alluxio.cli.LogLevel"
CLASSPATH=${ALLUXIO_CLIENT_CLASSPATH}
Expand Down
10 changes: 10 additions & 0 deletions bin/alluxio-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,13 @@ function get_ramdisk_array() {
done
IFS=$oldifs
}

# Compose the ssh command according to the hostname
function ssh_command() {
local host=$1
local command=""
if [[ $host != "localhost" && $host != "127.0.0.1" ]]; then
command="ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no -tt ${host}"
fi
echo "${command}"
}
26 changes: 17 additions & 9 deletions bin/alluxio-masters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@

set -o pipefail

LAUNCHER=
# If debugging is enabled propagate that through to sub-shells
if [[ "$-" == *x* ]]; then
LAUNCHER="bash -x"
fi
BIN=$(cd "$( dirname "$( readlink "$0" || echo "$0" )" )"; pwd)
. $(dirname "$0")/alluxio-common.sh

USAGE="Usage: alluxio-masters.sh command..."

Expand All @@ -37,19 +32,32 @@ ALLUXIO_TASK_LOG="${ALLUXIO_LOGS_DIR}/task.log"

echo "Executing the following command on all master nodes and logging to ${ALLUXIO_TASK_LOG}: $@" | tee -a ${ALLUXIO_TASK_LOG}

check_true() {
local output=$1
if [[ $output == *"true"* ]]; then
result="true"
else
result="false"
fi
echo $result
}

N=0
HA_ENABLED=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.zookeeper.enabled)

HA_ENABLED_GETCONF_RES=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.zookeeper.enabled)
HA_ENABLED=$(check_true "$HA_ENABLED_GETCONF_RES")

JOURNAL_TYPE=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.master.journal.type | awk '{print toupper($0)}')
if [[ ${JOURNAL_TYPE} == "EMBEDDED" ]]; then
HA_ENABLED="true"
fi
for master in ${HOSTLIST[@]}; do
echo "[${master}] Connecting as ${USER}..." >> ${ALLUXIO_TASK_LOG}
if [[ ${HA_ENABLED} == "true" || ${N} -eq 0 ]]; then
nohup ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no -tt ${master} ${LAUNCHER} \
nohup $(ssh_command ${master}) ${LAUNCHER} \
$"${@// /\\ }" 2>&1 | while read line; do echo "[$(date '+%F %T')][${master}] ${line}"; done >> ${ALLUXIO_TASK_LOG} &
else
nohup ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no -tt ${master} ${LAUNCHER} \
nohup $(ssh_command ${master}) ${LAUNCHER} \
$"export ALLUXIO_MASTER_SECONDARY=true; ${@// /\\ }" 2>&1 | while read line; do echo "[$(date '+%F %T')][${master}] ${line}"; done >> ${ALLUXIO_TASK_LOG} &
fi
pids[${#pids[@]}]=$!
Expand Down
15 changes: 13 additions & 2 deletions bin/alluxio-monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ run_monitor() {
else
"${JAVA}" -cp ${CLASSPATH} ${alluxio_config} ${monitor_exec}
if [[ $? -ne 0 ]]; then
echo -e "${WHITE}---${NC} ${RED}[ FAILED ]${NC} The ${CYAN}${node_type}${NC} @ ${PURPLE}$(hostname -f)${NC} is not serving requests.${NC}"
echo -e "${WHITE}---${NC} ${RED}[ FAILED ]${NC} The ${CYAN}${node_type}${NC} @ ${PURPLE}$(hostname -f)${NC} is not serving requests after 120s. Please check if the process is running and the logs/ if necessary.${NC}"
print_node_logs "${node_type}"
return 1
fi
Expand Down Expand Up @@ -192,7 +192,8 @@ run_monitors() {
# if there is an error, print the log tail for the remaining master nodes.
batch_run_on_nodes "$(echo ${nodes})" "${BIN}/alluxio-monitor.sh" -L "${node_type}"
else
HA_ENABLED=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.zookeeper.enabled)
HA_ENABLED_GETCONF_RES=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.zookeeper.enabled)
HA_ENABLED=$(check_true "$HA_ENABLED_GETCONF_RES")
JOURNAL_TYPE=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.master.journal.type | awk '{print toupper($0)}')
if [[ ${JOURNAL_TYPE} == "EMBEDDED" ]]; then
HA_ENABLED="true"
Expand All @@ -206,6 +207,16 @@ run_monitors() {
fi
}

check_true() {
local output=$1
if [[ $output == *"true"* ]]; then
result="true"
else
result="false"
fi
echo $result
}

# Used to run a command on multiple hosts concurrently.
# By default it limits concurrent tasks to 100.
batch_run_on_nodes() {
Expand Down
9 changes: 2 additions & 7 deletions bin/alluxio-workers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@

set -o pipefail

LAUNCHER=
# If debugging is enabled propagate that through to sub-shells
if [[ "$-" == *x* ]]; then
LAUNCHER="bash -x"
fi
BIN=$(cd "$( dirname "$( readlink "$0" || echo "$0" )" )"; pwd)
. $(dirname "$0")/alluxio-common.sh

USAGE="Usage: alluxio-workers.sh command..."

Expand All @@ -39,7 +34,7 @@ echo "Executing the following command on all worker nodes and logging to ${ALLUX

for worker in ${HOSTLIST[@]}; do
echo "[${worker}] Connecting as ${USER}..." >> ${ALLUXIO_TASK_LOG}
nohup ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no -tt ${worker} ${LAUNCHER} \
nohup $(ssh_command ${worker}) ${LAUNCHER} \
$"${@// /\\ }" 2>&1 | while read line; do echo "[$(date '+%F %T')][${worker}] ${line}"; done >> ${ALLUXIO_TASK_LOG} &
pids[${#pids[@]}]=$!
done
Expand Down
Loading
Loading