Skip to content

Commit

Permalink
License to top of source files.
Browse files Browse the repository at this point in the history
  • Loading branch information
CurleySamuel committed Aug 18, 2015
1 parent 9396de6 commit d5b1eb1
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 0 deletions.
15 changes: 15 additions & 0 deletions client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2015 Samuel Curley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import zk.client as zk
import region.client as region
from region.region import region_from_cell
Expand Down
15 changes: 15 additions & 0 deletions exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2015 Samuel Curley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import logging
from time import sleep
from threading import Condition, Lock, RLock, Semaphore
Expand Down
15 changes: 15 additions & 0 deletions filters.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2015 Samuel Curley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import pb.Filter_pb2 as pbFilter
import pb.Comparator_pb2 as pbComparator
from pb.HBase_pb2 import BytesBytesPair as pbBytesBytesPair
Expand Down
15 changes: 15 additions & 0 deletions region/client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2015 Samuel Curley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import socket
from struct import pack, unpack
from ..pb.RPC_pb2 import ConnectionHeader, RequestHeader, ResponseHeader
Expand Down
15 changes: 15 additions & 0 deletions region/region.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2015 Samuel Curley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from struct import unpack
from ..pb.HBase_pb2 import RegionInfo as pbRegionInfo

Expand Down
15 changes: 15 additions & 0 deletions zk/client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2015 Samuel Curley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from kazoo.client import KazooClient
from kazoo.handlers.threading import KazooTimeoutError
from kazoo.exceptions import NoNodeError
Expand Down

0 comments on commit d5b1eb1

Please sign in to comment.