Skip to content

Commit

Permalink
Add license
Browse files Browse the repository at this point in the history
  • Loading branch information
LuQQiu committed Jun 3, 2024
1 parent 988745f commit 4faab6f
Show file tree
Hide file tree
Showing 12 changed files with 97 additions and 0 deletions.
9 changes: 9 additions & 0 deletions alluxiofs/client/const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.

ALLUXIO_CLUSTER_NAME_KEY = "alluxio.cluster.name"
ALLUXIO_CLUSTER_NAME_DEFAULT_VALUE = "DefaultAlluxioCluster"
ALLUXIO_ETCD_USERNAME_KEY = "alluxio.etcd.username"
Expand Down
8 changes: 8 additions & 0 deletions alluxiofs/client/core.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
import asyncio
import hashlib
import json
Expand Down
8 changes: 8 additions & 0 deletions alluxiofs/client/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
import logging


Expand Down
8 changes: 8 additions & 0 deletions alluxiofs/client/worker_ring.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
import json
import logging
import random
Expand Down
8 changes: 8 additions & 0 deletions alluxiofs/core.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
import inspect
import logging
import time
Expand Down
8 changes: 8 additions & 0 deletions bench.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
#!/bin/python3
import argparse
import json
Expand Down
8 changes: 8 additions & 0 deletions benchmark/AbstractBench.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
from abc import ABC
from abc import abstractmethod
from typing import List
Expand Down
8 changes: 8 additions & 0 deletions benchmark/bench/AlluxioFSSpecBench.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
import random
from enum import Enum

Expand Down
8 changes: 8 additions & 0 deletions benchmark/bench/AlluxioFSSpecTrafficBench.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
from enum import Enum

from benchmark.AbstractBench import AbstractAlluxioFSSpecTraverseBench
Expand Down
8 changes: 8 additions & 0 deletions benchmark/bench/AlluxioRESTBench.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
import json
import random
import re
Expand Down
8 changes: 8 additions & 0 deletions benchmark/bench/RayBench.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
from enum import Enum

try:
Expand Down
8 changes: 8 additions & 0 deletions benchmark/ray_single_node_image_loader_microbenchmark.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied, as more fully set forth in the License.
#
# See the NOTICE file distributed with this work for information regarding copyright ownership.
"""
Runs single-node microbenchmarks for reading and preprocessing an image dataset
from local disk and (for supported data loaders) cloud storage. Pass a --data-root,
Expand Down

0 comments on commit 4faab6f

Please sign in to comment.