incubator-crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject [24/28] git commit: Rename examples/ packages and add license headers
Date Sat, 07 Jul 2012 21:49:08 GMT
Rename examples/ packages and add license headers

Signed-off-by: Josh Wills <jwills@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-crunch/commit/dcbe3784
Tree: http://git-wip-us.apache.org/repos/asf/incubator-crunch/tree/dcbe3784
Diff: http://git-wip-us.apache.org/repos/asf/incubator-crunch/diff/dcbe3784

Branch: refs/heads/master
Commit: dcbe3784229875eefb04f3aff71563ecd2f7c412
Parents: 540345c
Author: Josh Wills <jwills@cloudera.com>
Authored: Sat Jul 7 12:24:22 2012 -0700
Committer: Josh Wills <jwills@cloudera.com>
Committed: Sat Jul 7 14:21:30 2012 -0700

----------------------------------------------------------------------
 scrunch/examples/ClassyPageRank.scala |   25 ++++++++++++++-----------
 scrunch/examples/PageRank.scala       |   23 +++++++++++++----------
 scrunch/examples/WordCount.scala      |   23 +++++++++++++----------
 3 files changed, 40 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/dcbe3784/scrunch/examples/ClassyPageRank.scala
----------------------------------------------------------------------
diff --git a/scrunch/examples/ClassyPageRank.scala b/scrunch/examples/ClassyPageRank.scala
index d5f8df9..6c819a5 100644
--- a/scrunch/examples/ClassyPageRank.scala
+++ b/scrunch/examples/ClassyPageRank.scala
@@ -1,19 +1,22 @@
 /**
- * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
- *
- * Cloudera, Inc. licenses this file to you 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
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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
  *
- * This software 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.
+ * 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 com.cloudera.scrunch._
-import com.cloudera.scrunch.Mem._
+import org.apache.scrunch._
+import org.apache.scrunch.Mem._
 
 case class UrlData(pageRank: Float, oldPageRank: Float, links: List[String]) {
   def this() = this(1.0f, 0.0f, Nil)

http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/dcbe3784/scrunch/examples/PageRank.scala
----------------------------------------------------------------------
diff --git a/scrunch/examples/PageRank.scala b/scrunch/examples/PageRank.scala
index 976c688..7de26e6 100644
--- a/scrunch/examples/PageRank.scala
+++ b/scrunch/examples/PageRank.scala
@@ -1,18 +1,21 @@
 /**
- * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
- *
- * Cloudera, Inc. licenses this file to you 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
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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
  *
- * This software 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.
+ * 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 com.cloudera.scrunch._
+import org.apache.scrunch._
 
 object PageRank extends PipelineApp {
   def initialize(file: String) = {

http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/dcbe3784/scrunch/examples/WordCount.scala
----------------------------------------------------------------------
diff --git a/scrunch/examples/WordCount.scala b/scrunch/examples/WordCount.scala
index c90c290..4c6055f 100644
--- a/scrunch/examples/WordCount.scala
+++ b/scrunch/examples/WordCount.scala
@@ -1,18 +1,21 @@
 /**
- * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
- *
- * Cloudera, Inc. licenses this file to you 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
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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
  *
- * This software 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.
+ * 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 com.cloudera.scrunch.PipelineApp
+import org.apache.scrunch.PipelineApp
 
 object WordCount extends PipelineApp {
 


Mime
View raw message