You are viewing a plain text version of this content. The canonical link for it is here.
Posted to s4-commits@incubator.apache.org by mm...@apache.org on 2012/01/03 11:19:16 UTC
[48/50] [abbrv] git commit: Version number; Add copyright to new files
Version number; Add copyright to new files
Project: http://git-wip-us.apache.org/repos/asf/incubator-s4/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s4/commit/737fa28d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s4/tree/737fa28d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s4/diff/737fa28d
Branch: refs/heads/dev
Commit: 737fa28d5b2b73ab15472add847f4f378e90a2c0
Parents: 5dbbaec
Author: Bruce Robbins <ro...@thosespent.corp.yahoo.com>
Authored: Sun Sep 25 15:16:32 2011 -0700
Committer: Bruce Robbins <ro...@thosespent.corp.yahoo.com>
Committed: Sun Sep 25 15:16:32 2011 -0700
----------------------------------------------------------------------
build.gradle | 2 +-
.../partitioner/LoopbackPartitioner.java | 15 +++++++++++++++
.../src/main/java/io/s4/ft/CheckpointingEvent.java | 15 +++++++++++++++
.../io/s4/ft/DefaultFileSystemStateStorage.java | 15 +++++++++++++++
.../java/io/s4/ft/InitiateCheckpointingEvent.java | 15 +++++++++++++++
.../io/s4/ft/LoggingStorageCallbackFactory.java | 15 +++++++++++++++
s4-core/src/main/java/io/s4/ft/RecoveryEvent.java | 15 +++++++++++++++
.../src/main/java/io/s4/ft/RedisStateStorage.java | 15 +++++++++++++++
s4-core/src/main/java/io/s4/ft/SafeKeeper.java | 15 +++++++++++++++
s4-core/src/main/java/io/s4/ft/SafeKeeperId.java | 15 +++++++++++++++
s4-core/src/main/java/io/s4/ft/SaveStateTask.java | 15 +++++++++++++++
s4-core/src/main/java/io/s4/ft/StateStorage.java | 15 +++++++++++++++
.../src/main/java/io/s4/ft/StorageCallback.java | 15 +++++++++++++++
.../main/java/io/s4/ft/StorageCallbackFactory.java | 15 +++++++++++++++
14 files changed, 196 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 045031e..0545c8d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -46,7 +46,7 @@ platformProjects = [project(':s4-core'), project(':s4-comm'), project(':s4-drive
allprojects {
- version = new Version(major: 0, minor: 3, bugfix: 0)
+ version = new Version(major: 0, minor: 4, bugfix: 0, releaseType: 'SNAPSHOT')
archivesBaseName = 's4'
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java b/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java
index c323fd9..cdb6b15 100644
--- a/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java
+++ b/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.dispatcher.partitioner;
import io.s4.emitter.CommLayerEmitter;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java b/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java
index 07f74c6..299a7dc 100644
--- a/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java
+++ b/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
/**
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java b/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java
index 969fa2a..52fd4a5 100644
--- a/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java
+++ b/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java b/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java
index c2e2fc7..13270d9 100644
--- a/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java
+++ b/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
/**
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java b/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java
index f1ef222..b7d5128 100644
--- a/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java
+++ b/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
import io.s4.ft.SafeKeeper.StorageResultCode;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java b/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java
index a551c2e..4481ca3 100644
--- a/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java
+++ b/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
/**
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java b/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java
index 16ab64a..bbdf272 100644
--- a/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java
+++ b/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
import io.s4.ft.SafeKeeper.StorageResultCode;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/SafeKeeper.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/SafeKeeper.java b/s4-core/src/main/java/io/s4/ft/SafeKeeper.java
index 7a4e7e0..fb8c605 100644
--- a/s4-core/src/main/java/io/s4/ft/SafeKeeper.java
+++ b/s4-core/src/main/java/io/s4/ft/SafeKeeper.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
import io.s4.dispatcher.Dispatcher;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java b/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java
index f9a231e..df1f2d7 100644
--- a/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java
+++ b/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
import java.util.regex.Matcher;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/SaveStateTask.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/SaveStateTask.java b/s4-core/src/main/java/io/s4/ft/SaveStateTask.java
index cfa2416..23c6c38 100644
--- a/s4-core/src/main/java/io/s4/ft/SaveStateTask.java
+++ b/s4-core/src/main/java/io/s4/ft/SaveStateTask.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/StateStorage.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/StateStorage.java b/s4-core/src/main/java/io/s4/ft/StateStorage.java
index e1f54a2..52a0a46 100644
--- a/s4-core/src/main/java/io/s4/ft/StateStorage.java
+++ b/s4-core/src/main/java/io/s4/ft/StateStorage.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
import java.util.Set;
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/StorageCallback.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/StorageCallback.java b/s4-core/src/main/java/io/s4/ft/StorageCallback.java
index ae41643..67b7235 100644
--- a/s4-core/src/main/java/io/s4/ft/StorageCallback.java
+++ b/s4-core/src/main/java/io/s4/ft/StorageCallback.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
/**
http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/737fa28d/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java
----------------------------------------------------------------------
diff --git a/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java b/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java
index 3a47a1e..1e760d0 100644
--- a/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java
+++ b/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2010 Yahoo! Inc. All rights reserved.
+ *
+ * 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. See accompanying LICENSE file.
+ */
package io.s4.ft;
/**