You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/08/27 23:11:02 UTC

[incubator-datasketches-java] branch RenamePackages created (now 5d990f7)

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a change to branch RenamePackages
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git.


      at 5d990f7  Refactor / Rename package hierarchies.

This branch includes the following new commits:

     new 5d990f7  Refactor / Rename package hierarchies.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[incubator-datasketches-java] 01/01: Refactor / Rename package hierarchies.

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch RenamePackages
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git

commit 5d990f78406130a67c31127d92d9ba2a6a9d3b4b
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Tue Aug 27 16:03:37 2019 -0700

    Refactor / Rename package hierarchies.
---
 pom.xml                                            |  6 +-
 .../apache/datasketches}/ArrayOfBooleansSerDe.java |  8 +-
 .../apache/datasketches}/ArrayOfDoublesSerDe.java  |  8 +-
 .../apache/datasketches}/ArrayOfItemsSerDe.java    |  4 +-
 .../apache/datasketches}/ArrayOfLongsSerDe.java    |  8 +-
 .../apache/datasketches}/ArrayOfNumbersSerDe.java  |  8 +-
 .../apache/datasketches}/ArrayOfStringsSerDe.java  |  8 +-
 .../datasketches}/ArrayOfUtf16StringsSerDe.java    |  8 +-
 .../apache/datasketches}/BinomialBoundsN.java      |  2 +-
 .../datasketches}/BoundsOnBinomialProportions.java |  2 +-
 .../datasketches}/BoundsOnRatiosInSampledSets.java |  6 +-
 .../BoundsOnRatiosInThetaSketchedSets.java         |  4 +-
 .../apache/datasketches}/ByteArrayUtil.java        |  2 +-
 .../apache/datasketches}/EquivTables.java          |  2 +-
 .../apache/datasketches}/Family.java               |  2 +-
 .../apache/datasketches}/HashOperations.java       |  6 +-
 .../apache/datasketches}/QuantilesHelper.java      |  2 +-
 .../apache/datasketches}/QuickSelect.java          |  2 +-
 .../apache/datasketches}/ResizeFactor.java         |  2 +-
 .../datasketches}/SketchesArgumentException.java   |  2 +-
 .../apache/datasketches}/SketchesException.java    |  2 +-
 .../datasketches}/SketchesReadOnlyException.java   |  2 +-
 .../datasketches}/SketchesStateException.java      |  2 +-
 .../sketches => org/apache/datasketches}/Util.java |  4 +-
 .../apache/datasketches}/cpc/CompressedState.java  | 60 +++++++--------
 .../apache/datasketches}/cpc/CompressionData.java  |  2 +-
 .../apache/datasketches}/cpc/CpcCompression.java   | 20 ++---
 .../apache/datasketches}/cpc/CpcConfidence.java    |  4 +-
 .../apache/datasketches}/cpc/CpcSketch.java        | 30 ++++----
 .../apache/datasketches}/cpc/CpcUnion.java         | 18 ++---
 .../apache/datasketches}/cpc/CpcUtil.java          |  4 +-
 .../apache/datasketches}/cpc/CpcWrapper.java       | 28 +++----
 .../apache/datasketches}/cpc/Flavor.java           |  2 +-
 .../apache/datasketches}/cpc/Format.java           |  2 +-
 .../apache/datasketches}/cpc/IconEstimator.java    | 10 +--
 .../cpc/IconPolynomialCoefficients.java            |  6 +-
 .../apache/datasketches}/cpc/PairTable.java        | 10 +--
 .../apache/datasketches}/cpc/PreambleUtil.java     | 18 ++---
 .../apache/datasketches}/cpc/RuntimeAsserts.java   |  2 +-
 .../apache/datasketches}/cpc/package-info.java     |  2 +-
 .../apache/datasketches}/fdt/FdtSketch.java        | 12 +--
 .../apache/datasketches}/fdt/Group.java            |  2 +-
 .../apache/datasketches}/fdt/PostProcessor.java    | 12 +--
 .../apache/datasketches}/fdt/package-info.java     |  2 +-
 .../datasketches}/frequencies/ErrorType.java       |  2 +-
 .../datasketches}/frequencies/ItemsSketch.java     | 58 +++++++--------
 .../datasketches}/frequencies/LongsSketch.java     | 56 +++++++-------
 .../datasketches}/frequencies/PreambleUtil.java    | 12 +--
 .../frequencies/ReversePurgeItemHashMap.java       | 10 +--
 .../frequencies/ReversePurgeLongHashMap.java       | 12 +--
 .../apache/datasketches}/frequencies/Util.java     |  2 +-
 .../datasketches}/frequencies/package-info.java    |  2 +-
 .../apache/datasketches}/hash/MurmurHash3.java     |  2 +-
 .../datasketches}/hash/MurmurHash3Adaptor.java     | 10 +--
 .../apache/datasketches}/hash/MurmurHash3v2.java   |  8 +-
 .../apache/datasketches}/hash/XxHash.java          |  4 +-
 .../apache/datasketches}/hash/package-info.java    |  2 +-
 .../apache/datasketches}/hll/AbstractCoupons.java  | 14 ++--
 .../apache/datasketches}/hll/AbstractHllArray.java | 12 +--
 .../apache/datasketches}/hll/AuxHashMap.java       |  4 +-
 .../apache/datasketches}/hll/BaseHllSketch.java    | 12 +--
 .../hll/CompositeInterpolationXTable.java          |  2 +-
 .../apache/datasketches}/hll/Conversions.java      |  8 +-
 .../apache/datasketches}/hll/CouponHashSet.java    | 40 +++++-----
 .../apache/datasketches}/hll/CouponList.java       | 30 ++++----
 .../apache/datasketches}/hll/CouponMapping.java    |  2 +-
 .../datasketches}/hll/CubicInterpolation.java      |  4 +-
 .../apache/datasketches}/hll/CurMode.java          |  2 +-
 .../apache/datasketches}/hll/DirectAuxHashMap.java | 28 +++----
 .../datasketches}/hll/DirectCouponHashSet.java     | 42 +++++------
 .../apache/datasketches}/hll/DirectCouponList.java | 76 +++++++++----------
 .../apache/datasketches}/hll/DirectHll4Array.java  | 34 ++++-----
 .../apache/datasketches}/hll/DirectHll6Array.java  | 12 +--
 .../apache/datasketches}/hll/DirectHll8Array.java  | 12 +--
 .../apache/datasketches}/hll/DirectHllArray.java   | 56 +++++++-------
 .../apache/datasketches}/hll/HarmonicNumbers.java  |  2 +-
 .../apache/datasketches}/hll/HeapAuxHashMap.java   | 18 ++---
 .../apache/datasketches}/hll/Hll4Array.java        | 24 +++---
 .../apache/datasketches}/hll/Hll4Update.java       |  8 +-
 .../apache/datasketches}/hll/Hll6Array.java        | 10 +--
 .../apache/datasketches}/hll/Hll8Array.java        |  8 +-
 .../apache/datasketches}/hll/HllArray.java         | 30 ++++----
 .../apache/datasketches}/hll/HllEstimators.java    |  8 +-
 .../apache/datasketches}/hll/HllPairIterator.java  |  6 +-
 .../apache/datasketches}/hll/HllSketch.java        | 26 +++----
 .../apache/datasketches}/hll/HllSketchImpl.java    |  6 +-
 .../apache/datasketches}/hll/HllUtil.java          | 26 +++----
 .../datasketches}/hll/IntArrayPairIterator.java    |  4 +-
 .../datasketches}/hll/IntMemoryPairIterator.java   |  6 +-
 .../apache/datasketches}/hll/PairIterator.java     |  2 +-
 .../apache/datasketches}/hll/PreambleUtil.java     | 22 +++---
 .../datasketches}/hll/RelativeErrorTables.java     |  2 +-
 .../apache/datasketches}/hll/TgtHllType.java       |  2 +-
 .../apache/datasketches}/hll/ToByteArrayImpl.java  | 58 +++++++--------
 .../apache/datasketches}/hll/Union.java            | 14 ++--
 .../apache/datasketches}/hll/package-info.java     |  2 +-
 .../apache/datasketches}/hllmap/CouponHashMap.java | 10 +--
 .../datasketches}/hllmap/CouponTraverseMap.java    |  6 +-
 .../datasketches}/hllmap/CouponsIterator.java      |  2 +-
 .../apache/datasketches}/hllmap/HllMap.java        |  8 +-
 .../apache/datasketches}/hllmap/Map.java           |  4 +-
 .../datasketches}/hllmap/SingleCouponMap.java      |  6 +-
 .../datasketches}/hllmap/UniqueCountMap.java       |  4 +-
 .../apache/datasketches}/hllmap/package-info.java  |  4 +-
 .../kll/KllFloatsQuantileCalculator.java           |  4 +-
 .../apache/datasketches}/kll/KllFloatsSketch.java  | 14 ++--
 .../datasketches}/kll/KllFloatsSketchIterator.java |  2 +-
 .../apache/datasketches}/kll/KllHelper.java        |  4 +-
 .../apache/datasketches}/kll/package-info.java     |  2 +-
 .../apache/datasketches}/package-info.java         |  2 +-
 .../quantiles/CompactDoublesSketch.java            |  4 +-
 .../quantiles/DirectCompactDoublesSketch.java      | 62 ++++++++--------
 .../quantiles/DirectDoublesSketchAccessor.java     |  4 +-
 .../quantiles/DirectUpdateDoublesSketch.java       | 54 +++++++-------
 .../quantiles/DirectUpdateDoublesSketchR.java      | 42 +++++------
 .../quantiles/DoublesArrayAccessor.java            |  2 +-
 .../datasketches}/quantiles/DoublesAuxiliary.java  |  8 +-
 .../quantiles/DoublesBufferAccessor.java           |  2 +-
 .../quantiles/DoublesByteArrayImpl.java            | 32 ++++----
 .../datasketches}/quantiles/DoublesMergeImpl.java  | 12 +--
 .../datasketches}/quantiles/DoublesPmfCdfImpl.java |  2 +-
 .../datasketches}/quantiles/DoublesSketch.java     | 18 ++---
 .../quantiles/DoublesSketchAccessor.java           |  6 +-
 .../quantiles/DoublesSketchBuilder.java            |  8 +-
 .../quantiles/DoublesSketchIterator.java           |  2 +-
 .../datasketches}/quantiles/DoublesUnion.java      |  6 +-
 .../quantiles/DoublesUnionBuilder.java             |  6 +-
 .../datasketches}/quantiles/DoublesUnionImpl.java  |  8 +-
 .../datasketches}/quantiles/DoublesUnionImplR.java | 12 +--
 .../datasketches}/quantiles/DoublesUpdateImpl.java |  2 +-
 .../datasketches}/quantiles/DoublesUtil.java       |  8 +-
 .../quantiles/HeapCompactDoublesSketch.java        | 38 +++++-----
 .../quantiles/HeapDoublesSketchAccessor.java       |  2 +-
 .../quantiles/HeapUpdateDoublesSketch.java         | 40 +++++-----
 .../datasketches}/quantiles/ItemsAuxiliary.java    |  6 +-
 .../quantiles/ItemsByteArrayImpl.java              | 28 +++----
 .../datasketches}/quantiles/ItemsMergeImpl.java    |  6 +-
 .../datasketches}/quantiles/ItemsPmfCdfImpl.java   |  2 +-
 .../datasketches}/quantiles/ItemsSketch.java       | 32 ++++----
 .../quantiles/ItemsSketchIterator.java             |  2 +-
 .../apache/datasketches}/quantiles/ItemsUnion.java |  8 +-
 .../datasketches}/quantiles/ItemsUpdateImpl.java   |  2 +-
 .../apache/datasketches}/quantiles/ItemsUtil.java  |  6 +-
 .../datasketches}/quantiles/PreambleUtil.java      | 12 +--
 .../quantiles/UpdateDoublesSketch.java             |  6 +-
 .../apache/datasketches}/quantiles/Util.java       | 30 ++++----
 .../datasketches}/quantiles/package-info.java      |  4 +-
 .../datasketches}/sampling/PreambleUtil.java       | 16 ++--
 .../sampling/ReservoirItemsSketch.java             | 46 ++++++------
 .../sampling/ReservoirItemsUnion.java              | 34 ++++-----
 .../sampling/ReservoirLongsSketch.java             | 44 +++++------
 .../sampling/ReservoirLongsUnion.java              | 32 ++++----
 .../datasketches}/sampling/ReservoirSize.java      |  6 +-
 .../sampling/SampleSubsetSummary.java              |  2 +-
 .../datasketches}/sampling/SamplingUtil.java       |  6 +-
 .../datasketches}/sampling/VarOptItemsSamples.java |  2 +-
 .../datasketches}/sampling/VarOptItemsSketch.java  | 56 +++++++-------
 .../datasketches}/sampling/VarOptItemsUnion.java   | 38 +++++-----
 .../datasketches}/sampling/package-info.java       |  2 +-
 .../apache/datasketches}/theta/AnotB.java          |  6 +-
 .../apache/datasketches}/theta/CompactSketch.java  | 30 ++++----
 .../ConcurrentBackgroundThetaPropagation.java      |  2 +-
 .../theta/ConcurrentDirectQuickSelectSketch.java   |  8 +-
 .../theta/ConcurrentHeapQuickSelectSketch.java     |  4 +-
 .../theta/ConcurrentHeapThetaBuffer.java           | 12 +--
 .../theta/ConcurrentPropagationService.java        |  2 +-
 .../theta/ConcurrentSharedThetaSketch.java         |  4 +-
 .../theta/DirectCompactOrderedSketch.java          | 20 ++---
 .../datasketches}/theta/DirectCompactSketch.java   | 12 +--
 .../theta/DirectCompactUnorderedSketch.java        | 18 ++---
 .../theta/DirectQuickSelectSketch.java             | 86 +++++++++++-----------
 .../theta/DirectQuickSelectSketchR.java            | 40 +++++-----
 .../datasketches}/theta/EmptyCompactSketch.java    |  6 +-
 .../datasketches}/theta/ForwardCompatibility.java  | 16 ++--
 .../apache/datasketches}/theta/HashIterator.java   |  2 +-
 .../datasketches}/theta/HeapAlphaSketch.java       | 54 +++++++-------
 .../apache/datasketches}/theta/HeapAnotB.java      | 14 ++--
 .../theta/HeapCompactOrderedSketch.java            | 16 ++--
 .../datasketches}/theta/HeapCompactSketch.java     | 14 ++--
 .../theta/HeapCompactUnorderedSketch.java          | 16 ++--
 .../datasketches}/theta/HeapHashIterator.java      |  2 +-
 .../datasketches}/theta/HeapQuickSelectSketch.java | 50 ++++++-------
 .../datasketches}/theta/HeapUpdateSketch.java      | 40 +++++-----
 .../apache/datasketches}/theta/Intersection.java   |  6 +-
 .../datasketches}/theta/IntersectionImpl.java      | 54 +++++++-------
 .../datasketches}/theta/IntersectionImplR.java     | 50 ++++++-------
 .../datasketches}/theta/JaccardSimilarity.java     | 16 ++--
 .../datasketches}/theta/MemoryHashIterator.java    |  4 +-
 .../datasketches}/theta/PairwiseSetOperations.java |  8 +-
 .../apache/datasketches}/theta/PreambleUtil.java   | 16 ++--
 .../apache/datasketches}/theta/Rebuilder.java      | 30 ++++----
 .../apache/datasketches}/theta/SetOperation.java   | 30 ++++----
 .../datasketches}/theta/SetOperationBuilder.java   | 32 ++++----
 .../datasketches}/theta/SingleItemSketch.java      | 24 +++---
 .../apache/datasketches}/theta/Sketch.java         | 50 ++++++-------
 .../apache/datasketches}/theta/Sketches.java       | 30 ++++----
 .../apache/datasketches}/theta/Union.java          |  8 +-
 .../apache/datasketches}/theta/UnionImpl.java      | 58 +++++++--------
 .../datasketches}/theta/UpdateReturnState.java     |  2 +-
 .../apache/datasketches}/theta/UpdateSketch.java   | 62 ++++++++--------
 .../datasketches}/theta/UpdateSketchBuilder.java   | 43 +++++------
 .../apache/datasketches}/theta/package-info.java   |  2 +-
 .../apache/datasketches}/tuple/AnotB.java          | 10 +--
 .../datasketches}/tuple/ArrayOfDoublesAnotB.java   |  4 +-
 .../tuple/ArrayOfDoublesCombiner.java              |  2 +-
 .../tuple/ArrayOfDoublesCompactSketch.java         |  2 +-
 .../tuple/ArrayOfDoublesIntersection.java          |  6 +-
 .../tuple/ArrayOfDoublesQuickSelectSketch.java     | 14 ++--
 .../tuple/ArrayOfDoublesSetOperationBuilder.java   |  6 +-
 .../datasketches}/tuple/ArrayOfDoublesSketch.java  | 10 +--
 .../tuple/ArrayOfDoublesSketchIterator.java        |  2 +-
 .../tuple/ArrayOfDoublesSketches.java              |  8 +-
 .../datasketches}/tuple/ArrayOfDoublesUnion.java   | 12 +--
 .../tuple/ArrayOfDoublesUpdatableSketch.java       | 12 +--
 .../ArrayOfDoublesUpdatableSketchBuilder.java      | 12 +--
 .../apache/datasketches}/tuple/CompactSketch.java  | 10 +--
 .../datasketches}/tuple/DeserializeResult.java     |  2 +-
 .../tuple/DirectArrayOfDoublesCompactSketch.java   | 12 +--
 .../tuple/DirectArrayOfDoublesIntersection.java    |  4 +-
 .../DirectArrayOfDoublesQuickSelectSketch.java     | 14 ++--
 .../DirectArrayOfDoublesQuickSelectSketchR.java    |  8 +-
 .../tuple/DirectArrayOfDoublesSketchIterator.java  |  4 +-
 .../tuple/DirectArrayOfDoublesUnion.java           | 10 +--
 .../tuple/DirectArrayOfDoublesUnionR.java          |  6 +-
 .../apache/datasketches}/tuple/Filter.java         |  4 +-
 .../tuple/HeapArrayOfDoublesAnotB.java             | 12 +--
 .../tuple/HeapArrayOfDoublesCompactSketch.java     | 12 +--
 .../tuple/HeapArrayOfDoublesIntersection.java      |  2 +-
 .../tuple/HeapArrayOfDoublesQuickSelectSketch.java | 16 ++--
 .../tuple/HeapArrayOfDoublesSketchIterator.java    |  2 +-
 .../tuple/HeapArrayOfDoublesUnion.java             |  6 +-
 .../apache/datasketches}/tuple/Intersection.java   |  6 +-
 .../datasketches}/tuple/QuickSelectSketch.java     | 24 +++---
 .../tuple/SerializerDeserializer.java              |  8 +-
 .../apache/datasketches}/tuple/Sketch.java         |  8 +-
 .../apache/datasketches}/tuple/SketchIterator.java |  2 +-
 .../apache/datasketches}/tuple/Sketches.java       |  4 +-
 .../apache/datasketches}/tuple/Summary.java        |  2 +-
 .../datasketches}/tuple/SummaryDeserializer.java   |  4 +-
 .../apache/datasketches}/tuple/SummaryFactory.java |  2 +-
 .../datasketches}/tuple/SummarySetOperations.java  |  2 +-
 .../apache/datasketches}/tuple/Union.java          |  4 +-
 .../datasketches}/tuple/UpdatableSketch.java       |  8 +-
 .../tuple/UpdatableSketchBuilder.java              |  8 +-
 .../datasketches}/tuple/UpdatableSummary.java      |  2 +-
 .../apache/datasketches}/tuple/Util.java           | 14 ++--
 .../datasketches}/tuple/adouble/DoubleSummary.java | 10 +--
 .../tuple/adouble/DoubleSummaryDeserializer.java   |  8 +-
 .../tuple/adouble/DoubleSummaryFactory.java        |  4 +-
 .../tuple/adouble/DoubleSummarySetOperations.java  |  6 +-
 .../datasketches}/tuple/adouble/package-info.java  |  2 +-
 .../apache/datasketches}/tuple/package-info.java   |  2 +-
 .../tuple/strings/ArrayOfStringsSketch.java        | 10 +--
 .../tuple/strings/ArrayOfStringsSummary.java       | 18 ++---
 .../strings/ArrayOfStringsSummaryDeserializer.java |  8 +-
 .../strings/ArrayOfStringsSummaryFactory.java      |  4 +-
 .../ArrayOfStringsSummarySetOperations.java        |  4 +-
 .../datasketches}/tuple/strings/package-info.java  |  2 +-
 .../apache/datasketches}/BinomialBoundsNTest.java  |  8 +-
 .../BoundsOnBinomialProportionsTest.java           | 12 +--
 .../BoundsOnRatiosInSampledSetsTest.java           | 14 ++--
 .../BoundsOnRatiosInThetaSketchedSetsTest.java     | 10 +--
 .../apache/datasketches}/ByteArrayUtilTest.java    | 44 +++++------
 .../apache/datasketches}/FamilyTest.java           |  6 +-
 .../apache/datasketches}/HashOperationsTest.java   | 26 +++----
 .../apache/datasketches}/QuickSelectTest.java      |  8 +-
 .../datasketches}/SketchesExceptionTest.java       |  2 +-
 .../apache/datasketches}/UtilTest.java             | 50 ++++++-------
 .../apache/datasketches}/cpc/BitMatrix.java        |  6 +-
 .../datasketches}/cpc/CompressedStateTest.java     |  6 +-
 .../cpc/CompressionCharacterization.java           | 20 ++---
 .../datasketches}/cpc/CompressionDataTest.java     | 12 +--
 .../apache/datasketches}/cpc/CpcCBinariesTest.java |  6 +-
 .../datasketches}/cpc/CpcCompressionTest.java      | 30 ++++----
 .../apache/datasketches}/cpc/CpcSketchTest.java    | 14 ++--
 .../apache/datasketches}/cpc/CpcUnionTest.java     |  8 +-
 .../apache/datasketches}/cpc/CpcWrapperTest.java   |  6 +-
 .../datasketches}/cpc/IconEstimatorTest.java       |  6 +-
 .../apache/datasketches}/cpc/LzTzSpeedTesting.java |  4 +-
 .../datasketches}/cpc/MergingValidation.java       | 12 +--
 .../apache/datasketches}/cpc/PairTableTest.java    |  6 +-
 .../apache/datasketches}/cpc/PreambleUtilTest.java | 70 +++++++++---------
 .../datasketches}/cpc/QuickMergingValidation.java  |  6 +-
 .../datasketches}/cpc/RuntimeAssertsTest.java      |  8 +-
 .../datasketches}/cpc/SpecialCBinariesTest.java    | 12 +--
 .../datasketches}/cpc/StreamingValidation.java     |  8 +-
 .../apache/datasketches}/cpc/TestAllTest.java      |  4 +-
 .../apache/datasketches}/cpc/TestUtil.java         |  6 +-
 .../apache/datasketches}/fdt/FdtSketchTest.java    | 10 +--
 .../apache/datasketches}/fdt/GroupTest.java        |  2 +-
 .../apache/datasketches}/frequencies/DistTest.java |  2 +-
 .../datasketches}/frequencies/ItemsSketchTest.java | 26 +++----
 .../datasketches}/frequencies/LongsSketchTest.java | 28 +++----
 .../frequencies/ReversePurgeLongHashMapTest.java   |  4 +-
 .../frequencies/SerDeCompatibilityTest.java        |  8 +-
 .../frequencies/StressTestHashMap.java             |  4 +-
 .../datasketches}/hash/MurmurHash3AdaptorTest.java | 14 ++--
 .../apache/datasketches}/hash/MurmurHash3Test.java | 20 ++---
 .../datasketches}/hash/MurmurHash3v2Test.java      |  6 +-
 .../apache/datasketches}/hash/XxHashTest.java      |  4 +-
 .../apache/datasketches}/hll/AuxHashMapTest.java   |  4 +-
 .../datasketches}/hll/BaseHllSketchTest.java       |  4 +-
 .../apache/datasketches}/hll/CouponListTest.java   |  4 +-
 .../datasketches}/hll/CrossCountingTest.java       |  8 +-
 .../datasketches}/hll/DirectAuxHashMapTest.java    | 12 +--
 .../datasketches}/hll/DirectCouponListTest.java    | 10 +--
 .../datasketches}/hll/DirectHllSketchTest.java     |  8 +-
 .../datasketches}/hll/DirectUnionCaseTest.java     | 16 ++--
 .../apache/datasketches}/hll/DirectUnionTest.java  | 14 ++--
 .../apache/datasketches}/hll/HllArrayTest.java     |  4 +-
 .../apache/datasketches}/hll/HllSketchTest.java    | 30 ++++----
 .../apache/datasketches}/hll/PreambleUtilTest.java | 24 +++---
 .../apache/datasketches}/hll/TablesTest.java       | 10 +--
 .../datasketches}/hll/ToFromByteArrayTest.java     | 12 +--
 .../apache/datasketches}/hll/UnionCaseTest.java    | 14 ++--
 .../apache/datasketches}/hll/UnionTest.java        | 12 +--
 .../datasketches}/hllmap/CouponHashMapTest.java    |  4 +-
 .../hllmap/CouponTraverseMapTest.java              |  2 +-
 .../apache/datasketches}/hllmap/HllMapTest.java    |  4 +-
 .../datasketches}/hllmap/SingleCouponMapTest.java  |  2 +-
 .../datasketches}/hllmap/UniqueCountMapTest.java   |  8 +-
 .../datasketches}/kll/DeprecatedAndMiscTest.java   |  2 +-
 .../kll/KllFloatsSketchIteratorTest.java           |  2 +-
 .../datasketches}/kll/KllFloatsSketchTest.java     |  8 +-
 .../datasketches}/kll/KllValidationTest.java       |  2 +-
 .../datasketches}/quantiles/AccuracyTest.java      |  2 +-
 .../datasketches}/quantiles/DebugUnionTest.java    |  8 +-
 .../quantiles/DeprecatedAndMiscTest.java           |  8 +-
 .../quantiles/DirectCompactDoublesSketchTest.java  | 10 +--
 .../DirectQuantilesMemoryRequestTest.java          | 10 +--
 .../quantiles/DirectUpdateDoublesSketchTest.java   | 10 +--
 .../quantiles/DoublesSketchBuilderTest.java        |  4 +-
 .../quantiles/DoublesSketchIteratorTest.java       |  2 +-
 .../datasketches}/quantiles/DoublesSketchTest.java |  6 +-
 .../quantiles/DoublesUnionBuilderTest.java         |  6 +-
 .../quantiles/DoublesUnionImplTest.java            | 12 +--
 .../datasketches}/quantiles/DoublesUtilTest.java   | 10 +--
 .../quantiles/ForwardCompatibilityTest.java        |  4 +-
 .../quantiles/HeapCompactDoublesSketchTest.java    | 12 +--
 .../quantiles/HeapUpdateDoublesSketchTest.java     | 26 +++----
 .../quantiles/ItemsSketchIteratorTest.java         |  2 +-
 .../datasketches}/quantiles/ItemsSketchTest.java   | 16 ++--
 .../datasketches}/quantiles/ItemsUnionTest.java    | 12 +--
 .../datasketches}/quantiles/PreambleUtilTest.java  | 42 +++++------
 .../quantiles/ReadOnlyMemoryTest.java              |  8 +-
 .../quantiles/SerDeCompatibilityTest.java          |  8 +-
 .../apache/datasketches}/quantiles/UtilTest.java   |  4 +-
 .../sampling/ReservoirItemsSketchTest.java         | 32 ++++----
 .../sampling/ReservoirItemsUnionTest.java          | 28 +++----
 .../sampling/ReservoirLongsSketchTest.java         | 30 ++++----
 .../sampling/ReservoirLongsUnionTest.java          | 20 ++---
 .../datasketches}/sampling/ReservoirSizeTest.java  |  4 +-
 .../sampling/VarOptItemsSamplesTest.java           |  2 +-
 .../sampling/VarOptItemsSketchTest.java            | 24 +++---
 .../sampling/VarOptItemsUnionTest.java             | 22 +++---
 .../datasketches}/theta/BackwardConversions.java   | 10 +--
 .../datasketches}/theta/CompactSketchTest.java     | 12 +--
 .../ConcurrentDirectQuickSelectSketchTest.java     | 22 +++---
 .../theta/ConcurrentHeapQuickSelectSketchTest.java | 20 ++---
 .../theta/DirectIntersectionTest.java              | 24 +++---
 .../theta/DirectQuickSelectSketchTest.java         | 48 ++++++------
 .../datasketches}/theta/DirectUnionTest.java       | 22 +++---
 .../apache/datasketches}/theta/EmptyTest.java      | 12 +--
 .../apache/datasketches}/theta/ExamplesTest.java   |  2 +-
 .../theta/ForwardCompatibilityTest.java            | 14 ++--
 .../datasketches}/theta/HeapAlphaSketchTest.java   | 40 +++++-----
 .../apache/datasketches}/theta/HeapAnotBTest.java  | 10 +--
 .../datasketches}/theta/HeapIntersectionTest.java  | 20 ++---
 .../theta/HeapQuickSelectSketchTest.java           | 40 +++++-----
 .../apache/datasketches}/theta/HeapUnionTest.java  | 18 ++---
 .../apache/datasketches}/theta/IteratorTest.java   |  6 +-
 .../datasketches}/theta/JaccardSimilarityTest.java |  6 +-
 .../theta/PairwiseCornerCasesTest.java             | 14 ++--
 .../theta/PairwiseSetOperationsTest.java           |  2 +-
 .../datasketches}/theta/PreambleUtilTest.java      | 74 +++++++++----------
 .../datasketches}/theta/ReadOnlyMemoryTest.java    |  6 +-
 .../datasketches}/theta/SetOperationTest.java      | 30 ++++----
 .../datasketches}/theta/SingleItemSketchTest.java  | 18 ++---
 .../apache/datasketches}/theta/SketchTest.java     | 46 ++++++------
 .../apache/datasketches}/theta/SketchesTest.java   | 36 ++++-----
 .../apache/datasketches}/theta/UnionImplTest.java  | 18 ++---
 .../datasketches}/theta/UpdateSketchTest.java      | 22 +++---
 .../tuple/ArrayOfDoublesAnotBTest.java             |  6 +-
 .../tuple/ArrayOfDoublesCompactSketchTest.java     |  6 +-
 .../tuple/ArrayOfDoublesIntersectionTest.java      |  6 +-
 .../tuple/ArrayOfDoublesQuickSelectSketchTest.java |  8 +-
 .../tuple/ArrayOfDoublesUnionTest.java             |  8 +-
 .../tuple/CompactSketchWithDoubleSummaryTest.java  | 12 +--
 .../DirectArrayOfDoublesCompactSketchTest.java     |  8 +-
 .../DirectArrayOfDoublesQuickSelectSketchTest.java |  8 +-
 .../apache/datasketches}/tuple/FilterTest.java     |  6 +-
 .../tuple/HeapArrayOfDoublesCompactSketchTest.java |  8 +-
 .../HeapArrayOfDoublesQuickSelectSketchTest.java   |  8 +-
 .../datasketches}/tuple/ReadOnlyMemoryTest.java    |  6 +-
 .../tuple/SerializerDeserializerTest.java          |  8 +-
 .../apache/datasketches}/tuple/TestUtil.java       |  2 +-
 .../UpdatableSketchWithDoubleSummaryTest.java      | 28 +++----
 .../tuple/strings/ArrayOfStringsSketchTest.java    | 14 ++--
 .../tuple/strings/ArrayOfStringsSummaryTest.java   |  8 +-
 399 files changed, 2693 insertions(+), 2692 deletions(-)

diff --git a/pom.xml b/pom.xml
index e79e42a..9ce6229 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,7 +83,7 @@ under the License.
         <maven.compiler.target>${java.version}</maven.compiler.target>
 
         <!-- Dependencies -->
-        <datasketches-memory.version>0.12.2</datasketches-memory.version>
+        <datasketches-memory.version>1.1.0-incubating</datasketches-memory.version>
         <testng.version>6.14.3</testng.version>
         <slf4j-api.version>1.7.25</slf4j-api.version>
 
@@ -129,8 +129,8 @@ under the License.
 
     <dependencies>
         <dependency>
-            <groupId>com.yahoo.datasketches</groupId> <!-- Temporary until artifacts created in Apache -->
-            <artifactId>memory</artifactId>
+            <groupId>org.apache.datasketches</groupId>
+            <artifactId>datasketches-memory</artifactId>
             <version>${datasketches-memory.version}</version>
         </dependency>
 
diff --git a/src/main/java/com/yahoo/sketches/ArrayOfBooleansSerDe.java b/src/main/java/org/apache/datasketches/ArrayOfBooleansSerDe.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/ArrayOfBooleansSerDe.java
rename to src/main/java/org/apache/datasketches/ArrayOfBooleansSerDe.java
index 78cfdca..b36cd9a 100644
--- a/src/main/java/com/yahoo/sketches/ArrayOfBooleansSerDe.java
+++ b/src/main/java/org/apache/datasketches/ArrayOfBooleansSerDe.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.UnsafeUtil;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.UnsafeUtil;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Methods of serializing and deserializing arrays of Boolean as a bit array.
diff --git a/src/main/java/com/yahoo/sketches/ArrayOfDoublesSerDe.java b/src/main/java/org/apache/datasketches/ArrayOfDoublesSerDe.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/ArrayOfDoublesSerDe.java
rename to src/main/java/org/apache/datasketches/ArrayOfDoublesSerDe.java
index 690a4db..ac754e4 100644
--- a/src/main/java/com/yahoo/sketches/ArrayOfDoublesSerDe.java
+++ b/src/main/java/org/apache/datasketches/ArrayOfDoublesSerDe.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.UnsafeUtil;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.UnsafeUtil;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Methods of serializing and deserializing arrays of Double.
diff --git a/src/main/java/com/yahoo/sketches/ArrayOfItemsSerDe.java b/src/main/java/org/apache/datasketches/ArrayOfItemsSerDe.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/ArrayOfItemsSerDe.java
rename to src/main/java/org/apache/datasketches/ArrayOfItemsSerDe.java
index 2ccf837..1a3b06c 100644
--- a/src/main/java/com/yahoo/sketches/ArrayOfItemsSerDe.java
+++ b/src/main/java/org/apache/datasketches/ArrayOfItemsSerDe.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Base class for serializing and deserializing custom types.
diff --git a/src/main/java/com/yahoo/sketches/ArrayOfLongsSerDe.java b/src/main/java/org/apache/datasketches/ArrayOfLongsSerDe.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/ArrayOfLongsSerDe.java
rename to src/main/java/org/apache/datasketches/ArrayOfLongsSerDe.java
index 46ee341..e7fee6a 100644
--- a/src/main/java/com/yahoo/sketches/ArrayOfLongsSerDe.java
+++ b/src/main/java/org/apache/datasketches/ArrayOfLongsSerDe.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.UnsafeUtil;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.UnsafeUtil;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Methods of serializing and deserializing arrays of Long.
diff --git a/src/main/java/com/yahoo/sketches/ArrayOfNumbersSerDe.java b/src/main/java/org/apache/datasketches/ArrayOfNumbersSerDe.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/ArrayOfNumbersSerDe.java
rename to src/main/java/org/apache/datasketches/ArrayOfNumbersSerDe.java
index d205270..3256a8b 100644
--- a/src/main/java/com/yahoo/sketches/ArrayOfNumbersSerDe.java
+++ b/src/main/java/org/apache/datasketches/ArrayOfNumbersSerDe.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.UnsafeUtil;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.UnsafeUtil;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Methods of serializing and deserializing arrays of the object version of primitive types of
diff --git a/src/main/java/com/yahoo/sketches/ArrayOfStringsSerDe.java b/src/main/java/org/apache/datasketches/ArrayOfStringsSerDe.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/ArrayOfStringsSerDe.java
rename to src/main/java/org/apache/datasketches/ArrayOfStringsSerDe.java
index f866855..1252950 100644
--- a/src/main/java/com/yahoo/sketches/ArrayOfStringsSerDe.java
+++ b/src/main/java/org/apache/datasketches/ArrayOfStringsSerDe.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 import java.nio.charset.StandardCharsets;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.UnsafeUtil;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.UnsafeUtil;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Methods of serializing and deserializing arrays of String.
diff --git a/src/main/java/com/yahoo/sketches/ArrayOfUtf16StringsSerDe.java b/src/main/java/org/apache/datasketches/ArrayOfUtf16StringsSerDe.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/ArrayOfUtf16StringsSerDe.java
rename to src/main/java/org/apache/datasketches/ArrayOfUtf16StringsSerDe.java
index 12ed603..4c7477b 100644
--- a/src/main/java/com/yahoo/sketches/ArrayOfUtf16StringsSerDe.java
+++ b/src/main/java/org/apache/datasketches/ArrayOfUtf16StringsSerDe.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.UnsafeUtil;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.UnsafeUtil;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Methods of serializing and deserializing arrays of String.
diff --git a/src/main/java/com/yahoo/sketches/BinomialBoundsN.java b/src/main/java/org/apache/datasketches/BinomialBoundsN.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/BinomialBoundsN.java
rename to src/main/java/org/apache/datasketches/BinomialBoundsN.java
index c948bb9..352f742 100644
--- a/src/main/java/com/yahoo/sketches/BinomialBoundsN.java
+++ b/src/main/java/org/apache/datasketches/BinomialBoundsN.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * This class enables the estimation of error bounds given a sample set size, the sampling
diff --git a/src/main/java/com/yahoo/sketches/BoundsOnBinomialProportions.java b/src/main/java/org/apache/datasketches/BoundsOnBinomialProportions.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/BoundsOnBinomialProportions.java
rename to src/main/java/org/apache/datasketches/BoundsOnBinomialProportions.java
index 55e6ee6..c467a83 100644
--- a/src/main/java/com/yahoo/sketches/BoundsOnBinomialProportions.java
+++ b/src/main/java/org/apache/datasketches/BoundsOnBinomialProportions.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Confidence intervals for binomial proportions.
diff --git a/src/main/java/com/yahoo/sketches/BoundsOnRatiosInSampledSets.java b/src/main/java/org/apache/datasketches/BoundsOnRatiosInSampledSets.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/BoundsOnRatiosInSampledSets.java
rename to src/main/java/org/apache/datasketches/BoundsOnRatiosInSampledSets.java
index 9813403..78bc432 100644
--- a/src/main/java/com/yahoo/sketches/BoundsOnRatiosInSampledSets.java
+++ b/src/main/java/org/apache/datasketches/BoundsOnRatiosInSampledSets.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import static com.yahoo.sketches.BoundsOnBinomialProportions.approximateLowerBoundOnP;
-import static com.yahoo.sketches.BoundsOnBinomialProportions.approximateUpperBoundOnP;
+import static org.apache.datasketches.BoundsOnBinomialProportions.approximateLowerBoundOnP;
+import static org.apache.datasketches.BoundsOnBinomialProportions.approximateUpperBoundOnP;
 
 /**
  * This class is used to compute the bounds on the estimate of the ratio <i>|B| / |A|</i>, where:
diff --git a/src/main/java/com/yahoo/sketches/BoundsOnRatiosInThetaSketchedSets.java b/src/main/java/org/apache/datasketches/BoundsOnRatiosInThetaSketchedSets.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/BoundsOnRatiosInThetaSketchedSets.java
rename to src/main/java/org/apache/datasketches/BoundsOnRatiosInThetaSketchedSets.java
index a03f2c4..b724fc6 100644
--- a/src/main/java/com/yahoo/sketches/BoundsOnRatiosInThetaSketchedSets.java
+++ b/src/main/java/org/apache/datasketches/BoundsOnRatiosInThetaSketchedSets.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.sketches.theta.Sketch;
+import org.apache.datasketches.theta.Sketch;
 
 /**
  * This class is used to compute the bounds on the estimate of the ratio <i>B / A</i>, where:
diff --git a/src/main/java/com/yahoo/sketches/ByteArrayUtil.java b/src/main/java/org/apache/datasketches/ByteArrayUtil.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/ByteArrayUtil.java
rename to src/main/java/org/apache/datasketches/ByteArrayUtil.java
index 000a6c7..9ce4e25 100644
--- a/src/main/java/com/yahoo/sketches/ByteArrayUtil.java
+++ b/src/main/java/org/apache/datasketches/ByteArrayUtil.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Useful methods for byte arrays.
diff --git a/src/main/java/com/yahoo/sketches/EquivTables.java b/src/main/java/org/apache/datasketches/EquivTables.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/EquivTables.java
rename to src/main/java/org/apache/datasketches/EquivTables.java
index 4ae21b6..afd4991 100644
--- a/src/main/java/com/yahoo/sketches/EquivTables.java
+++ b/src/main/java/org/apache/datasketches/EquivTables.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Tables for BinomialBoundsN calculations.
diff --git a/src/main/java/com/yahoo/sketches/Family.java b/src/main/java/org/apache/datasketches/Family.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/Family.java
rename to src/main/java/org/apache/datasketches/Family.java
index 614c7d1..2375e10 100644
--- a/src/main/java/com/yahoo/sketches/Family.java
+++ b/src/main/java/org/apache/datasketches/Family.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 import java.util.HashMap;
 import java.util.Map;
diff --git a/src/main/java/com/yahoo/sketches/HashOperations.java b/src/main/java/org/apache/datasketches/HashOperations.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/HashOperations.java
rename to src/main/java/org/apache/datasketches/HashOperations.java
index f516620..73b17e7 100644
--- a/src/main/java/com/yahoo/sketches/HashOperations.java
+++ b/src/main/java/org/apache/datasketches/HashOperations.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Helper class for the common hash table methods.
diff --git a/src/main/java/com/yahoo/sketches/QuantilesHelper.java b/src/main/java/org/apache/datasketches/QuantilesHelper.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/QuantilesHelper.java
rename to src/main/java/org/apache/datasketches/QuantilesHelper.java
index 229f42e..bbb570d 100644
--- a/src/main/java/com/yahoo/sketches/QuantilesHelper.java
+++ b/src/main/java/org/apache/datasketches/QuantilesHelper.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Common static methods for quantiles sketches
diff --git a/src/main/java/com/yahoo/sketches/QuickSelect.java b/src/main/java/org/apache/datasketches/QuickSelect.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/QuickSelect.java
rename to src/main/java/org/apache/datasketches/QuickSelect.java
index a17e065..a9cafbe 100644
--- a/src/main/java/com/yahoo/sketches/QuickSelect.java
+++ b/src/main/java/org/apache/datasketches/QuickSelect.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * QuickSelect algorithm improved from Sedgewick. Gets the kth order value
diff --git a/src/main/java/com/yahoo/sketches/ResizeFactor.java b/src/main/java/org/apache/datasketches/ResizeFactor.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/ResizeFactor.java
rename to src/main/java/org/apache/datasketches/ResizeFactor.java
index 68b9d18..ae94b86 100644
--- a/src/main/java/com/yahoo/sketches/ResizeFactor.java
+++ b/src/main/java/org/apache/datasketches/ResizeFactor.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * For the Families that accept this configuration parameter, it controls the size multiple that
diff --git a/src/main/java/com/yahoo/sketches/SketchesArgumentException.java b/src/main/java/org/apache/datasketches/SketchesArgumentException.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/SketchesArgumentException.java
rename to src/main/java/org/apache/datasketches/SketchesArgumentException.java
index 48b40cb..c16817f 100644
--- a/src/main/java/com/yahoo/sketches/SketchesArgumentException.java
+++ b/src/main/java/org/apache/datasketches/SketchesArgumentException.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Illegal Arguments Exception class for the library
diff --git a/src/main/java/com/yahoo/sketches/SketchesException.java b/src/main/java/org/apache/datasketches/SketchesException.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/SketchesException.java
rename to src/main/java/org/apache/datasketches/SketchesException.java
index a078955..e890745 100644
--- a/src/main/java/com/yahoo/sketches/SketchesException.java
+++ b/src/main/java/org/apache/datasketches/SketchesException.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Exception class for the library
diff --git a/src/main/java/com/yahoo/sketches/SketchesReadOnlyException.java b/src/main/java/org/apache/datasketches/SketchesReadOnlyException.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/SketchesReadOnlyException.java
rename to src/main/java/org/apache/datasketches/SketchesReadOnlyException.java
index 3e8f4a7..264f5cf 100644
--- a/src/main/java/com/yahoo/sketches/SketchesReadOnlyException.java
+++ b/src/main/java/org/apache/datasketches/SketchesReadOnlyException.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Write operation attempted on a read-only class.
diff --git a/src/main/java/com/yahoo/sketches/SketchesStateException.java b/src/main/java/org/apache/datasketches/SketchesStateException.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/SketchesStateException.java
rename to src/main/java/org/apache/datasketches/SketchesStateException.java
index 2234e97..8ede018 100644
--- a/src/main/java/com/yahoo/sketches/SketchesStateException.java
+++ b/src/main/java/org/apache/datasketches/SketchesStateException.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 /**
  * Illegal State Exception class for the library
diff --git a/src/main/java/com/yahoo/sketches/Util.java b/src/main/java/org/apache/datasketches/Util.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/Util.java
rename to src/main/java/org/apache/datasketches/Util.java
index 3554366..bc9bf66 100644
--- a/src/main/java/com/yahoo/sketches/Util.java
+++ b/src/main/java/org/apache/datasketches/Util.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
 import static java.lang.Math.ceil;
 import static java.lang.Math.floor;
 import static java.lang.Math.log;
 import static java.lang.Math.pow;
 import static java.lang.Math.round;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
 
 /**
  * Common utility functions.
diff --git a/src/main/java/com/yahoo/sketches/cpc/CompressedState.java b/src/main/java/org/apache/datasketches/cpc/CompressedState.java
similarity index 84%
rename from src/main/java/com/yahoo/sketches/cpc/CompressedState.java
rename to src/main/java/org/apache/datasketches/cpc/CompressedState.java
index 0f7c3aa..bd5183c 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CompressedState.java
+++ b/src/main/java/org/apache/datasketches/cpc/CompressedState.java
@@ -17,38 +17,38 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.cpc.PreambleUtil.checkCapacity;
-import static com.yahoo.sketches.cpc.PreambleUtil.checkLoPreamble;
-import static com.yahoo.sketches.cpc.PreambleUtil.getDefinedPreInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getFiCol;
-import static com.yahoo.sketches.cpc.PreambleUtil.getFormatOrdinal;
-import static com.yahoo.sketches.cpc.PreambleUtil.getHipAccum;
-import static com.yahoo.sketches.cpc.PreambleUtil.getKxP;
-import static com.yahoo.sketches.cpc.PreambleUtil.getLgK;
-import static com.yahoo.sketches.cpc.PreambleUtil.getNumCoupons;
-import static com.yahoo.sketches.cpc.PreambleUtil.getNumSv;
-import static com.yahoo.sketches.cpc.PreambleUtil.getPreInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getSeedHash;
-import static com.yahoo.sketches.cpc.PreambleUtil.getSvLengthInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getSvStream;
-import static com.yahoo.sketches.cpc.PreambleUtil.getWLengthInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getWStream;
-import static com.yahoo.sketches.cpc.PreambleUtil.isCompressed;
-import static com.yahoo.sketches.cpc.PreambleUtil.putEmptyHip;
-import static com.yahoo.sketches.cpc.PreambleUtil.putEmptyMerged;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingHip;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingHipNoSv;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingMerged;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingMergedNoSv;
-import static com.yahoo.sketches.cpc.PreambleUtil.putSparseHybridHip;
-import static com.yahoo.sketches.cpc.PreambleUtil.putSparseHybridMerged;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.cpc.PreambleUtil.checkCapacity;
+import static org.apache.datasketches.cpc.PreambleUtil.checkLoPreamble;
+import static org.apache.datasketches.cpc.PreambleUtil.getDefinedPreInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getFiCol;
+import static org.apache.datasketches.cpc.PreambleUtil.getFormatOrdinal;
+import static org.apache.datasketches.cpc.PreambleUtil.getHipAccum;
+import static org.apache.datasketches.cpc.PreambleUtil.getKxP;
+import static org.apache.datasketches.cpc.PreambleUtil.getLgK;
+import static org.apache.datasketches.cpc.PreambleUtil.getNumCoupons;
+import static org.apache.datasketches.cpc.PreambleUtil.getNumSv;
+import static org.apache.datasketches.cpc.PreambleUtil.getPreInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getSeedHash;
+import static org.apache.datasketches.cpc.PreambleUtil.getSvLengthInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getSvStream;
+import static org.apache.datasketches.cpc.PreambleUtil.getWLengthInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getWStream;
+import static org.apache.datasketches.cpc.PreambleUtil.isCompressed;
+import static org.apache.datasketches.cpc.PreambleUtil.putEmptyHip;
+import static org.apache.datasketches.cpc.PreambleUtil.putEmptyMerged;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingHip;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingHipNoSv;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingMerged;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingMergedNoSv;
+import static org.apache.datasketches.cpc.PreambleUtil.putSparseHybridHip;
+import static org.apache.datasketches.cpc.PreambleUtil.putSparseHybridMerged;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/cpc/CompressionData.java b/src/main/java/org/apache/datasketches/cpc/CompressionData.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/cpc/CompressionData.java
rename to src/main/java/org/apache/datasketches/cpc/CompressionData.java
index 6531ae4..aa1c73a 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CompressionData.java
+++ b/src/main/java/org/apache/datasketches/cpc/CompressionData.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 /**
  * The 23 length-limited Huffman codes in this file were created by the ocaml program
diff --git a/src/main/java/com/yahoo/sketches/cpc/CpcCompression.java b/src/main/java/org/apache/datasketches/cpc/CpcCompression.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/cpc/CpcCompression.java
rename to src/main/java/org/apache/datasketches/cpc/CpcCompression.java
index 9c81ee3..f173ab1 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CpcCompression.java
+++ b/src/main/java/org/apache/datasketches/cpc/CpcCompression.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
-
-import static com.yahoo.sketches.cpc.CompressionData.columnPermutationsForDecoding;
-import static com.yahoo.sketches.cpc.CompressionData.columnPermutationsForEncoding;
-import static com.yahoo.sketches.cpc.CompressionData.decodingTablesForHighEntropyByte;
-import static com.yahoo.sketches.cpc.CompressionData.encodingTablesForHighEntropyByte;
-import static com.yahoo.sketches.cpc.CompressionData.lengthLimitedUnaryDecodingTable65;
-import static com.yahoo.sketches.cpc.CompressionData.lengthLimitedUnaryEncodingTable65;
-import static com.yahoo.sketches.cpc.PairTable.introspectiveInsertionSort;
-//import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertEquals;
+package org.apache.datasketches.cpc;
+
+import static org.apache.datasketches.cpc.CompressionData.columnPermutationsForDecoding;
+import static org.apache.datasketches.cpc.CompressionData.columnPermutationsForEncoding;
+import static org.apache.datasketches.cpc.CompressionData.decodingTablesForHighEntropyByte;
+import static org.apache.datasketches.cpc.CompressionData.encodingTablesForHighEntropyByte;
+import static org.apache.datasketches.cpc.CompressionData.lengthLimitedUnaryDecodingTable65;
+import static org.apache.datasketches.cpc.CompressionData.lengthLimitedUnaryEncodingTable65;
+import static org.apache.datasketches.cpc.PairTable.introspectiveInsertionSort;
+//import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertEquals;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/cpc/CpcConfidence.java b/src/main/java/org/apache/datasketches/cpc/CpcConfidence.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/cpc/CpcConfidence.java
rename to src/main/java/org/apache/datasketches/cpc/CpcConfidence.java
index 7d935b6..d948678 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CpcConfidence.java
+++ b/src/main/java/org/apache/datasketches/cpc/CpcConfidence.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.IconEstimator.getIconEstimate;
 import static java.lang.Math.ceil;
 import static java.lang.Math.log;
 import static java.lang.Math.sqrt;
+import static org.apache.datasketches.cpc.IconEstimator.getIconEstimate;
 
 /**
  * Tables and methods for estimating upper and lower bounds.
diff --git a/src/main/java/com/yahoo/sketches/cpc/CpcSketch.java b/src/main/java/org/apache/datasketches/cpc/CpcSketch.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/cpc/CpcSketch.java
rename to src/main/java/org/apache/datasketches/cpc/CpcSketch.java
index d884adb..f3c7d25 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CpcSketch.java
+++ b/src/main/java/org/apache/datasketches/cpc/CpcSketch.java
@@ -17,24 +17,24 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
-
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.checkSeedHashes;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.Util.invPow2;
-import static com.yahoo.sketches.Util.zeroPad;
-import static com.yahoo.sketches.cpc.CpcUtil.bitMatrixOfSketch;
-import static com.yahoo.sketches.cpc.CpcUtil.checkLgK;
-import static com.yahoo.sketches.cpc.CpcUtil.countBitsSetInMatrix;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
+package org.apache.datasketches.cpc;
+
 import static java.lang.Math.log;
 import static java.lang.Math.sqrt;
 import static java.nio.charset.StandardCharsets.UTF_8;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.checkSeedHashes;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.Util.invPow2;
+import static org.apache.datasketches.Util.zeroPad;
+import static org.apache.datasketches.cpc.CpcUtil.bitMatrixOfSketch;
+import static org.apache.datasketches.cpc.CpcUtil.checkLgK;
+import static org.apache.datasketches.cpc.CpcUtil.countBitsSetInMatrix;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This is a unique-counting sketch that implements the
diff --git a/src/main/java/com/yahoo/sketches/cpc/CpcUnion.java b/src/main/java/org/apache/datasketches/cpc/CpcUnion.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/cpc/CpcUnion.java
rename to src/main/java/org/apache/datasketches/cpc/CpcUnion.java
index dbb0efa..419507b 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CpcUnion.java
+++ b/src/main/java/org/apache/datasketches/cpc/CpcUnion.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.iGolden;
-import static com.yahoo.sketches.cpc.CpcUtil.countBitsSetInMatrix;
-import static com.yahoo.sketches.cpc.Flavor.EMPTY;
-import static com.yahoo.sketches.cpc.Flavor.SPARSE;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.iGolden;
+import static org.apache.datasketches.cpc.CpcUtil.countBitsSetInMatrix;
+import static org.apache.datasketches.cpc.Flavor.EMPTY;
+import static org.apache.datasketches.cpc.Flavor.SPARSE;
 
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
 
 /*
  * The merging logic is somewhat involved, so it will be summarized here.
diff --git a/src/main/java/com/yahoo/sketches/cpc/CpcUtil.java b/src/main/java/org/apache/datasketches/cpc/CpcUtil.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/cpc/CpcUtil.java
rename to src/main/java/org/apache/datasketches/cpc/CpcUtil.java
index f849adf..f9ec08c 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CpcUtil.java
+++ b/src/main/java/org/apache/datasketches/cpc/CpcUtil.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/cpc/CpcWrapper.java b/src/main/java/org/apache/datasketches/cpc/CpcWrapper.java
similarity index 79%
rename from src/main/java/com/yahoo/sketches/cpc/CpcWrapper.java
rename to src/main/java/org/apache/datasketches/cpc/CpcWrapper.java
index ae3722b..f1d5c04 100644
--- a/src/main/java/com/yahoo/sketches/cpc/CpcWrapper.java
+++ b/src/main/java/org/apache/datasketches/cpc/CpcWrapper.java
@@ -17,22 +17,22 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.CpcConfidence.getHipConfidenceLB;
-import static com.yahoo.sketches.cpc.CpcConfidence.getHipConfidenceUB;
-import static com.yahoo.sketches.cpc.CpcConfidence.getIconConfidenceLB;
-import static com.yahoo.sketches.cpc.CpcConfidence.getIconConfidenceUB;
-import static com.yahoo.sketches.cpc.IconEstimator.getIconEstimate;
-import static com.yahoo.sketches.cpc.PreambleUtil.checkLoPreamble;
-import static com.yahoo.sketches.cpc.PreambleUtil.getHipAccum;
-import static com.yahoo.sketches.cpc.PreambleUtil.getNumCoupons;
-import static com.yahoo.sketches.cpc.PreambleUtil.hasHip;
-import static com.yahoo.sketches.cpc.PreambleUtil.isCompressed;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.cpc.CpcConfidence.getHipConfidenceLB;
+import static org.apache.datasketches.cpc.CpcConfidence.getHipConfidenceUB;
+import static org.apache.datasketches.cpc.CpcConfidence.getIconConfidenceLB;
+import static org.apache.datasketches.cpc.CpcConfidence.getIconConfidenceUB;
+import static org.apache.datasketches.cpc.IconEstimator.getIconEstimate;
+import static org.apache.datasketches.cpc.PreambleUtil.checkLoPreamble;
+import static org.apache.datasketches.cpc.PreambleUtil.getHipAccum;
+import static org.apache.datasketches.cpc.PreambleUtil.getNumCoupons;
+import static org.apache.datasketches.cpc.PreambleUtil.hasHip;
+import static org.apache.datasketches.cpc.PreambleUtil.isCompressed;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * This provides a read-only view of a serialized image of a CpcSketch, which can be
diff --git a/src/main/java/com/yahoo/sketches/cpc/Flavor.java b/src/main/java/org/apache/datasketches/cpc/Flavor.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/cpc/Flavor.java
rename to src/main/java/org/apache/datasketches/cpc/Flavor.java
index f540eff..52cd66c 100644
--- a/src/main/java/com/yahoo/sketches/cpc/Flavor.java
+++ b/src/main/java/org/apache/datasketches/cpc/Flavor.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 /**
  * Note: except for brief transitional moments, these sketches always obey the following strict
diff --git a/src/main/java/com/yahoo/sketches/cpc/Format.java b/src/main/java/org/apache/datasketches/cpc/Format.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/cpc/Format.java
rename to src/main/java/org/apache/datasketches/cpc/Format.java
index 5dcdd98..2000451 100644
--- a/src/main/java/com/yahoo/sketches/cpc/Format.java
+++ b/src/main/java/org/apache/datasketches/cpc/Format.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 /**
  * There are seven different preamble formats (8 combinations) that determine the layout of the
diff --git a/src/main/java/com/yahoo/sketches/cpc/IconEstimator.java b/src/main/java/org/apache/datasketches/cpc/IconEstimator.java
similarity index 91%
rename from src/main/java/com/yahoo/sketches/cpc/IconEstimator.java
rename to src/main/java/org/apache/datasketches/cpc/IconEstimator.java
index 9c30151..cc5382f 100644
--- a/src/main/java/com/yahoo/sketches/cpc/IconEstimator.java
+++ b/src/main/java/org/apache/datasketches/cpc/IconEstimator.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.CpcUtil.maxLgK;
-import static com.yahoo.sketches.cpc.CpcUtil.minLgK;
-import static com.yahoo.sketches.cpc.IconPolynomialCoefficients.iconPolynomialCoefficents;
-import static com.yahoo.sketches.cpc.IconPolynomialCoefficients.iconPolynomialNumCoefficients;
+import static org.apache.datasketches.cpc.CpcUtil.maxLgK;
+import static org.apache.datasketches.cpc.CpcUtil.minLgK;
+import static org.apache.datasketches.cpc.IconPolynomialCoefficients.iconPolynomialCoefficents;
+import static org.apache.datasketches.cpc.IconPolynomialCoefficients.iconPolynomialNumCoefficients;
 
 /**
  * The ICON estimator for CPC sketches is defined by the arXiv paper.
diff --git a/src/main/java/com/yahoo/sketches/cpc/IconPolynomialCoefficients.java b/src/main/java/org/apache/datasketches/cpc/IconPolynomialCoefficients.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/cpc/IconPolynomialCoefficients.java
rename to src/main/java/org/apache/datasketches/cpc/IconPolynomialCoefficients.java
index 8f7fd42..6c08528 100644
--- a/src/main/java/com/yahoo/sketches/cpc/IconPolynomialCoefficients.java
+++ b/src/main/java/org/apache/datasketches/cpc/IconPolynomialCoefficients.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.CpcUtil.maxLgK;
-import static com.yahoo.sketches.cpc.CpcUtil.minLgK;
+import static org.apache.datasketches.cpc.CpcUtil.maxLgK;
+import static org.apache.datasketches.cpc.CpcUtil.minLgK;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/cpc/PairTable.java b/src/main/java/org/apache/datasketches/cpc/PairTable.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/cpc/PairTable.java
rename to src/main/java/org/apache/datasketches/cpc/PairTable.java
index 014587a..58b32f3 100644
--- a/src/main/java/com/yahoo/sketches/cpc/PairTable.java
+++ b/src/main/java/org/apache/datasketches/cpc/PairTable.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertEquals;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertEquals;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * Note: Definition of
diff --git a/src/main/java/com/yahoo/sketches/cpc/PreambleUtil.java b/src/main/java/org/apache/datasketches/cpc/PreambleUtil.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/cpc/PreambleUtil.java
rename to src/main/java/org/apache/datasketches/cpc/PreambleUtil.java
index 4cf5293..8070cc0 100644
--- a/src/main/java/com/yahoo/sketches/cpc/PreambleUtil.java
+++ b/src/main/java/org/apache/datasketches/cpc/PreambleUtil.java
@@ -17,19 +17,19 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.zeroPad;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertEquals;
+import static org.apache.datasketches.Util.zeroPad;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertEquals;
 
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 //@formatter:off
 /**
diff --git a/src/main/java/com/yahoo/sketches/cpc/RuntimeAsserts.java b/src/main/java/org/apache/datasketches/cpc/RuntimeAsserts.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/cpc/RuntimeAsserts.java
rename to src/main/java/org/apache/datasketches/cpc/RuntimeAsserts.java
index 12b96ed..17e716e 100644
--- a/src/main/java/com/yahoo/sketches/cpc/RuntimeAsserts.java
+++ b/src/main/java/org/apache/datasketches/cpc/RuntimeAsserts.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 /**
  * These asserts act like the <i>assert</i> in C/C++.  They will throw an AssertionError whether the
diff --git a/src/main/java/com/yahoo/sketches/cpc/package-info.java b/src/main/java/org/apache/datasketches/cpc/package-info.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/cpc/package-info.java
rename to src/main/java/org/apache/datasketches/cpc/package-info.java
index 13f336e..3495e11 100644
--- a/src/main/java/com/yahoo/sketches/cpc/package-info.java
+++ b/src/main/java/org/apache/datasketches/cpc/package-info.java
@@ -24,4 +24,4 @@
  * @author Kevin Lang
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
diff --git a/src/main/java/com/yahoo/sketches/fdt/FdtSketch.java b/src/main/java/org/apache/datasketches/fdt/FdtSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/fdt/FdtSketch.java
rename to src/main/java/org/apache/datasketches/fdt/FdtSketch.java
index e73cb8c..8a90336 100644
--- a/src/main/java/com/yahoo/sketches/fdt/FdtSketch.java
+++ b/src/main/java/org/apache/datasketches/fdt/FdtSketch.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.fdt;
+package org.apache.datasketches.fdt;
 
-import static com.yahoo.sketches.Util.MAX_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.MAX_LG_NOM_LONGS;
 
 import java.util.List;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.BinomialBoundsN;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.tuple.strings.ArrayOfStringsSketch;
+import org.apache.datasketches.BinomialBoundsN;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.tuple.strings.ArrayOfStringsSketch;
 
 /**
  * A Frequent Distinct Tuples sketch.
diff --git a/src/main/java/com/yahoo/sketches/fdt/Group.java b/src/main/java/org/apache/datasketches/fdt/Group.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/fdt/Group.java
rename to src/main/java/org/apache/datasketches/fdt/Group.java
index f94f825..90bde42 100644
--- a/src/main/java/com/yahoo/sketches/fdt/Group.java
+++ b/src/main/java/org/apache/datasketches/fdt/Group.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.fdt;
+package org.apache.datasketches.fdt;
 
 /**
  * Defines a Group from a Frequent Distinct Tuple query. This class is called internally during
diff --git a/src/main/java/com/yahoo/sketches/fdt/PostProcessor.java b/src/main/java/org/apache/datasketches/fdt/PostProcessor.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/fdt/PostProcessor.java
rename to src/main/java/org/apache/datasketches/fdt/PostProcessor.java
index 9d7c038..30a04dc 100644
--- a/src/main/java/com/yahoo/sketches/fdt/PostProcessor.java
+++ b/src/main/java/org/apache/datasketches/fdt/PostProcessor.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.fdt;
+package org.apache.datasketches.fdt;
 
-import static com.yahoo.sketches.HashOperations.hashSearchOrInsert;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.tuple.strings.ArrayOfStringsSummary.stringHash;
+import static org.apache.datasketches.HashOperations.hashSearchOrInsert;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.tuple.strings.ArrayOfStringsSummary.stringHash;
 
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
 
-import com.yahoo.sketches.tuple.SketchIterator;
-import com.yahoo.sketches.tuple.strings.ArrayOfStringsSummary;
+import org.apache.datasketches.tuple.SketchIterator;
+import org.apache.datasketches.tuple.strings.ArrayOfStringsSummary;
 
 /**
  * This processes the contents of a FDT sketch to extract the
diff --git a/src/main/java/com/yahoo/sketches/fdt/package-info.java b/src/main/java/org/apache/datasketches/fdt/package-info.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/fdt/package-info.java
rename to src/main/java/org/apache/datasketches/fdt/package-info.java
index 542d72c..d459d99 100644
--- a/src/main/java/com/yahoo/sketches/fdt/package-info.java
+++ b/src/main/java/org/apache/datasketches/fdt/package-info.java
@@ -21,4 +21,4 @@
  * @author Lee Rhodes
  */
 
-package com.yahoo.sketches.fdt;
+package org.apache.datasketches.fdt;
diff --git a/src/main/java/com/yahoo/sketches/frequencies/ErrorType.java b/src/main/java/org/apache/datasketches/frequencies/ErrorType.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/frequencies/ErrorType.java
rename to src/main/java/org/apache/datasketches/frequencies/ErrorType.java
index 8a4a9e9..050462a 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/ErrorType.java
+++ b/src/main/java/org/apache/datasketches/frequencies/ErrorType.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
 /**
  * Specifies one of two types of error regions of the statistical classification Confusion Matrix
diff --git a/src/main/java/com/yahoo/sketches/frequencies/ItemsSketch.java b/src/main/java/org/apache/datasketches/frequencies/ItemsSketch.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/frequencies/ItemsSketch.java
rename to src/main/java/org/apache/datasketches/frequencies/ItemsSketch.java
index 5760b29..3af2f40 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/ItemsSketch.java
+++ b/src/main/java/org/apache/datasketches/frequencies/ItemsSketch.java
@@ -17,40 +17,40 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.isPowerOf2;
-import static com.yahoo.sketches.Util.toLog2;
-import static com.yahoo.sketches.frequencies.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.frequencies.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractActiveItems;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractLgCurMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractLgMaxMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertActiveItems;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertLgCurMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertLgMaxMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.frequencies.Util.LG_MIN_MAP_SIZE;
-import static com.yahoo.sketches.frequencies.Util.SAMPLE_SIZE;
+package org.apache.datasketches.frequencies;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.isPowerOf2;
+import static org.apache.datasketches.Util.toLog2;
+import static org.apache.datasketches.frequencies.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.frequencies.PreambleUtil.SER_VER;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractActiveItems;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractFlags;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractLgCurMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractLgMaxMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertActiveItems;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertFlags;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertLgCurMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertLgMaxMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.frequencies.Util.LG_MIN_MAP_SIZE;
+import static org.apache.datasketches.frequencies.Util.SAMPLE_SIZE;
 
 import java.lang.reflect.Array;
 import java.util.ArrayList;
 import java.util.Comparator;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * <p>This sketch is useful for tracking approximate frequencies of items of type <i>&lt;T&gt;</i>
diff --git a/src/main/java/com/yahoo/sketches/frequencies/LongsSketch.java b/src/main/java/org/apache/datasketches/frequencies/LongsSketch.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/frequencies/LongsSketch.java
rename to src/main/java/org/apache/datasketches/frequencies/LongsSketch.java
index 0e46e5a..aab538f 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/LongsSketch.java
+++ b/src/main/java/org/apache/datasketches/frequencies/LongsSketch.java
@@ -17,38 +17,38 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.isPowerOf2;
-import static com.yahoo.sketches.Util.toLog2;
-import static com.yahoo.sketches.frequencies.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.frequencies.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractActiveItems;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractLgCurMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractLgMaxMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.frequencies.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertActiveItems;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertLgCurMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertLgMaxMapSize;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.frequencies.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.frequencies.Util.LG_MIN_MAP_SIZE;
-import static com.yahoo.sketches.frequencies.Util.SAMPLE_SIZE;
+package org.apache.datasketches.frequencies;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.isPowerOf2;
+import static org.apache.datasketches.Util.toLog2;
+import static org.apache.datasketches.frequencies.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.frequencies.PreambleUtil.SER_VER;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractActiveItems;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractFlags;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractLgCurMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractLgMaxMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.frequencies.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertActiveItems;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertFlags;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertLgCurMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertLgMaxMapSize;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.frequencies.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.frequencies.Util.LG_MIN_MAP_SIZE;
+import static org.apache.datasketches.frequencies.Util.SAMPLE_SIZE;
 
 import java.util.ArrayList;
 import java.util.Comparator;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * <p>This sketch is useful for tracking approximate frequencies of <i>long</i> items with optional
diff --git a/src/main/java/com/yahoo/sketches/frequencies/PreambleUtil.java b/src/main/java/org/apache/datasketches/frequencies/PreambleUtil.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/frequencies/PreambleUtil.java
rename to src/main/java/org/apache/datasketches/frequencies/PreambleUtil.java
index 6373dc7..1d5f8bc 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/PreambleUtil.java
+++ b/src/main/java/org/apache/datasketches/frequencies/PreambleUtil.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.zeroPad;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.zeroPad;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 // @formatter:off
 
diff --git a/src/main/java/com/yahoo/sketches/frequencies/ReversePurgeItemHashMap.java b/src/main/java/org/apache/datasketches/frequencies/ReversePurgeItemHashMap.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/frequencies/ReversePurgeItemHashMap.java
rename to src/main/java/org/apache/datasketches/frequencies/ReversePurgeItemHashMap.java
index 0fbc65a..796c9b4 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/ReversePurgeItemHashMap.java
+++ b/src/main/java/org/apache/datasketches/frequencies/ReversePurgeItemHashMap.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.toLog2;
-import static com.yahoo.sketches.frequencies.Util.hash;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.toLog2;
+import static org.apache.datasketches.frequencies.Util.hash;
 
 import java.lang.reflect.Array;
 
-import com.yahoo.sketches.QuickSelect;
+import org.apache.datasketches.QuickSelect;
 
 /**
  * Implements a linear-probing based hash map of (key, value) pairs and is distinguished by a
diff --git a/src/main/java/com/yahoo/sketches/frequencies/ReversePurgeLongHashMap.java b/src/main/java/org/apache/datasketches/frequencies/ReversePurgeLongHashMap.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/frequencies/ReversePurgeLongHashMap.java
rename to src/main/java/org/apache/datasketches/frequencies/ReversePurgeLongHashMap.java
index e4462b4..dbee1ce 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/ReversePurgeLongHashMap.java
+++ b/src/main/java/org/apache/datasketches/frequencies/ReversePurgeLongHashMap.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.toLog2;
-import static com.yahoo.sketches.frequencies.Util.hash;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.toLog2;
+import static org.apache.datasketches.frequencies.Util.hash;
 
-import com.yahoo.sketches.QuickSelect;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.QuickSelect;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * Implements a linear-probing based hash map of (key, value) pairs and is distinguished by a
diff --git a/src/main/java/com/yahoo/sketches/frequencies/Util.java b/src/main/java/org/apache/datasketches/frequencies/Util.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/frequencies/Util.java
rename to src/main/java/org/apache/datasketches/frequencies/Util.java
index 9c50189..7433890 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/Util.java
+++ b/src/main/java/org/apache/datasketches/frequencies/Util.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
 final class Util {
 
diff --git a/src/main/java/com/yahoo/sketches/frequencies/package-info.java b/src/main/java/org/apache/datasketches/frequencies/package-info.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/frequencies/package-info.java
rename to src/main/java/org/apache/datasketches/frequencies/package-info.java
index 5c1a83b..9ae87f2 100644
--- a/src/main/java/com/yahoo/sketches/frequencies/package-info.java
+++ b/src/main/java/org/apache/datasketches/frequencies/package-info.java
@@ -30,4 +30,4 @@
  * 
  * @author Lee Rhodes
  */
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
diff --git a/src/main/java/com/yahoo/sketches/hash/MurmurHash3.java b/src/main/java/org/apache/datasketches/hash/MurmurHash3.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/hash/MurmurHash3.java
rename to src/main/java/org/apache/datasketches/hash/MurmurHash3.java
index e42239d..3823656 100644
--- a/src/main/java/com/yahoo/sketches/hash/MurmurHash3.java
+++ b/src/main/java/org/apache/datasketches/hash/MurmurHash3.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
 import java.io.Serializable;
 
diff --git a/src/main/java/com/yahoo/sketches/hash/MurmurHash3Adaptor.java b/src/main/java/org/apache/datasketches/hash/MurmurHash3Adaptor.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hash/MurmurHash3Adaptor.java
rename to src/main/java/org/apache/datasketches/hash/MurmurHash3Adaptor.java
index 5b91cb3..38cdd16 100644
--- a/src/main/java/com/yahoo/sketches/hash/MurmurHash3Adaptor.java
+++ b/src/main/java/org/apache/datasketches/hash/MurmurHash3Adaptor.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
 import static java.nio.charset.StandardCharsets.UTF_8;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
 
 import java.nio.ByteBuffer;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * A general purpose wrapper for the MurmurHash3.
diff --git a/src/main/java/com/yahoo/sketches/hash/MurmurHash3v2.java b/src/main/java/org/apache/datasketches/hash/MurmurHash3v2.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hash/MurmurHash3v2.java
rename to src/main/java/org/apache/datasketches/hash/MurmurHash3v2.java
index e9e989e..a7f9700 100644
--- a/src/main/java/com/yahoo/sketches/hash/MurmurHash3v2.java
+++ b/src/main/java/org/apache/datasketches/hash/MurmurHash3v2.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
-import static com.yahoo.memory.UnsafeUtil.unsafe;
 import static java.nio.charset.StandardCharsets.UTF_8;
+import static org.apache.datasketches.memory.UnsafeUtil.unsafe;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * <p>The MurmurHash3 is a fast, non-cryptographic, 128-bit hash function that has
diff --git a/src/main/java/com/yahoo/sketches/hash/XxHash.java b/src/main/java/org/apache/datasketches/hash/XxHash.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hash/XxHash.java
rename to src/main/java/org/apache/datasketches/hash/XxHash.java
index eb36ef8..09adb91 100644
--- a/src/main/java/com/yahoo/sketches/hash/XxHash.java
+++ b/src/main/java/org/apache/datasketches/hash/XxHash.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * The XxHash is a fast, non-cryptographic, 64-bit hash function that has
diff --git a/src/main/java/com/yahoo/sketches/hash/package-info.java b/src/main/java/org/apache/datasketches/hash/package-info.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hash/package-info.java
rename to src/main/java/org/apache/datasketches/hash/package-info.java
index 5bd0121..a89c484 100644
--- a/src/main/java/com/yahoo/sketches/hash/package-info.java
+++ b/src/main/java/org/apache/datasketches/hash/package-info.java
@@ -28,4 +28,4 @@
  * 
  * @author Lee Rhodes
  */
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
diff --git a/src/main/java/com/yahoo/sketches/hll/AbstractCoupons.java b/src/main/java/org/apache/datasketches/hll/AbstractCoupons.java
similarity index 91%
rename from src/main/java/com/yahoo/sketches/hll/AbstractCoupons.java
rename to src/main/java/org/apache/datasketches/hll/AbstractCoupons.java
index ff3f7a8..1c8cc42 100644
--- a/src/main/java/com/yahoo/sketches/hll/AbstractCoupons.java
+++ b/src/main/java/org/apache/datasketches/hll/AbstractCoupons.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.COUPON_RSE;
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.KEY_MASK_26;
-import static com.yahoo.sketches.hll.ToByteArrayImpl.toCouponByteArray;
 import static java.lang.Math.max;
+import static org.apache.datasketches.hll.HllUtil.COUPON_RSE;
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.KEY_MASK_26;
+import static org.apache.datasketches.hll.ToByteArrayImpl.toCouponByteArray;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/AbstractHllArray.java b/src/main/java/org/apache/datasketches/hll/AbstractHllArray.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/hll/AbstractHllArray.java
rename to src/main/java/org/apache/datasketches/hll/AbstractHllArray.java
index 3666b67..c6a8bf9 100644
--- a/src/main/java/com/yahoo/sketches/hll/AbstractHllArray.java
+++ b/src/main/java/org/apache/datasketches/hll/AbstractHllArray.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.Util.invPow2;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_PREINTS;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.Util.invPow2;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_PREINTS;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/AuxHashMap.java b/src/main/java/org/apache/datasketches/hll/AuxHashMap.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/hll/AuxHashMap.java
rename to src/main/java/org/apache/datasketches/hll/AuxHashMap.java
index 14b0089..40d8d7b 100644
--- a/src/main/java/com/yahoo/sketches/hll/AuxHashMap.java
+++ b/src/main/java/org/apache/datasketches/hll/AuxHashMap.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/BaseHllSketch.java b/src/main/java/org/apache/datasketches/hll/BaseHllSketch.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hll/BaseHllSketch.java
rename to src/main/java/org/apache/datasketches/hll/BaseHllSketch.java
index 5bd336d..7039eae 100644
--- a/src/main/java/com/yahoo/sketches/hll/BaseHllSketch.java
+++ b/src/main/java/org/apache/datasketches/hll/BaseHllSketch.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
-import static com.yahoo.sketches.hll.HllUtil.KEY_BITS_26;
-import static com.yahoo.sketches.hll.HllUtil.KEY_MASK_26;
 import static java.nio.charset.StandardCharsets.UTF_8;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
+import static org.apache.datasketches.hll.HllUtil.KEY_BITS_26;
+import static org.apache.datasketches.hll.HllUtil.KEY_MASK_26;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Although this class is package-private, it provides a single place to define and document
diff --git a/src/main/java/com/yahoo/sketches/hll/CompositeInterpolationXTable.java b/src/main/java/org/apache/datasketches/hll/CompositeInterpolationXTable.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/hll/CompositeInterpolationXTable.java
rename to src/main/java/org/apache/datasketches/hll/CompositeInterpolationXTable.java
index 9fd0598..119f1c7 100644
--- a/src/main/java/com/yahoo/sketches/hll/CompositeInterpolationXTable.java
+++ b/src/main/java/org/apache/datasketches/hll/CompositeInterpolationXTable.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/Conversions.java b/src/main/java/org/apache/datasketches/hll/Conversions.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/hll/Conversions.java
rename to src/main/java/org/apache/datasketches/hll/Conversions.java
index 5e62121..e5e7239 100644
--- a/src/main/java/com/yahoo/sketches/hll/Conversions.java
+++ b/src/main/java/org/apache/datasketches/hll/Conversions.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.AUX_TOKEN;
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.AUX_TOKEN;
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
 
 /**
  * Converters for one TgtHllType to another.
diff --git a/src/main/java/com/yahoo/sketches/hll/CouponHashSet.java b/src/main/java/org/apache/datasketches/hll/CouponHashSet.java
similarity index 79%
rename from src/main/java/com/yahoo/sketches/hll/CouponHashSet.java
rename to src/main/java/org/apache/datasketches/hll/CouponHashSet.java
index a7bda4e..4320ba7 100644
--- a/src/main/java/com/yahoo/sketches/hll/CouponHashSet.java
+++ b/src/main/java/org/apache/datasketches/hll/CouponHashSet.java
@@ -17,26 +17,26 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_SET_SIZE;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_DENOM;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_NUMER;
-import static com.yahoo.sketches.hll.PreambleUtil.HASH_SET_INT_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.HASH_SET_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.LIST_INT_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.computeLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCurMode;
-import static com.yahoo.sketches.hll.PreambleUtil.extractHashSetCount;
-import static com.yahoo.sketches.hll.PreambleUtil.extractInt;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgK;
-import static com.yahoo.sketches.hll.PreambleUtil.extractTgtHllType;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesStateException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_SET_SIZE;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_DENOM;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_NUMER;
+import static org.apache.datasketches.hll.PreambleUtil.HASH_SET_INT_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.HASH_SET_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.LIST_INT_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.computeLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.extractCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractCurMode;
+import static org.apache.datasketches.hll.PreambleUtil.extractHashSetCount;
+import static org.apache.datasketches.hll.PreambleUtil.extractInt;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgK;
+import static org.apache.datasketches.hll.PreambleUtil.extractTgtHllType;
+
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/CouponList.java b/src/main/java/org/apache/datasketches/hll/CouponList.java
similarity index 88%
rename from src/main/java/com/yahoo/sketches/hll/CouponList.java
rename to src/main/java/org/apache/datasketches/hll/CouponList.java
index 120ee72..59e8aed 100644
--- a/src/main/java/com/yahoo/sketches/hll/CouponList.java
+++ b/src/main/java/org/apache/datasketches/hll/CouponList.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_LIST_SIZE;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_SET_SIZE;
-import static com.yahoo.sketches.hll.PreambleUtil.LIST_INT_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.LIST_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgK;
-import static com.yahoo.sketches.hll.PreambleUtil.extractListCount;
-import static com.yahoo.sketches.hll.PreambleUtil.extractOooFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractTgtHllType;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesStateException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_LIST_SIZE;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_SET_SIZE;
+import static org.apache.datasketches.hll.PreambleUtil.LIST_INT_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.LIST_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgK;
+import static org.apache.datasketches.hll.PreambleUtil.extractListCount;
+import static org.apache.datasketches.hll.PreambleUtil.extractOooFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractTgtHllType;
+
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/CouponMapping.java b/src/main/java/org/apache/datasketches/hll/CouponMapping.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hll/CouponMapping.java
rename to src/main/java/org/apache/datasketches/hll/CouponMapping.java
index b8d3a34..418449e 100644
--- a/src/main/java/com/yahoo/sketches/hll/CouponMapping.java
+++ b/src/main/java/org/apache/datasketches/hll/CouponMapping.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/CubicInterpolation.java b/src/main/java/org/apache/datasketches/hll/CubicInterpolation.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hll/CubicInterpolation.java
rename to src/main/java/org/apache/datasketches/hll/CubicInterpolation.java
index b83a712..44fdc61 100644
--- a/src/main/java/com/yahoo/sketches/hll/CubicInterpolation.java
+++ b/src/main/java/org/apache/datasketches/hll/CubicInterpolation.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/CurMode.java b/src/main/java/org/apache/datasketches/hll/CurMode.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hll/CurMode.java
rename to src/main/java/org/apache/datasketches/hll/CurMode.java
index da9e9d9..9202a8e 100644
--- a/src/main/java/com/yahoo/sketches/hll/CurMode.java
+++ b/src/main/java/org/apache/datasketches/hll/CurMode.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 /**
  * Represents the three fundamental modes of the HLL Sketch.
diff --git a/src/main/java/com/yahoo/sketches/hll/DirectAuxHashMap.java b/src/main/java/org/apache/datasketches/hll/DirectAuxHashMap.java
similarity index 89%
rename from src/main/java/com/yahoo/sketches/hll/DirectAuxHashMap.java
rename to src/main/java/org/apache/datasketches/hll/DirectAuxHashMap.java
index 5d31028..e137d63 100644
--- a/src/main/java/com/yahoo/sketches/hll/DirectAuxHashMap.java
+++ b/src/main/java/org/apache/datasketches/hll/DirectAuxHashMap.java
@@ -17,20 +17,20 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_DENOM;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_NUMER;
-import static com.yahoo.sketches.hll.PreambleUtil.extractAuxCount;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.insertAuxCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgArr;
-
-import com.yahoo.memory.MemoryRequestServer;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_DENOM;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_NUMER;
+import static org.apache.datasketches.hll.PreambleUtil.extractAuxCount;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.insertAuxCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgArr;
+
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.MemoryRequestServer;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/DirectCouponHashSet.java b/src/main/java/org/apache/datasketches/hll/DirectCouponHashSet.java
similarity index 79%
rename from src/main/java/com/yahoo/sketches/hll/DirectCouponHashSet.java
rename to src/main/java/org/apache/datasketches/hll/DirectCouponHashSet.java
index b3a81ca..b54f51a 100644
--- a/src/main/java/com/yahoo/sketches/hll/DirectCouponHashSet.java
+++ b/src/main/java/org/apache/datasketches/hll/DirectCouponHashSet.java
@@ -17,27 +17,27 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.KEY_MASK_26;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_DENOM;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_NUMER;
-import static com.yahoo.sketches.hll.HllUtil.noWriteAccess;
-import static com.yahoo.sketches.hll.PreambleUtil.HASH_SET_INT_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.HASH_SET_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.LG_K_BYTE;
-import static com.yahoo.sketches.hll.PreambleUtil.extractHashSetCount;
-import static com.yahoo.sketches.hll.PreambleUtil.extractInt;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.insertHashSetCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertInt;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgArr;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.KEY_MASK_26;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_DENOM;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_NUMER;
+import static org.apache.datasketches.hll.HllUtil.noWriteAccess;
+import static org.apache.datasketches.hll.PreambleUtil.HASH_SET_INT_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.HASH_SET_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.LG_K_BYTE;
+import static org.apache.datasketches.hll.PreambleUtil.extractHashSetCount;
+import static org.apache.datasketches.hll.PreambleUtil.extractInt;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.insertHashSetCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertInt;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgArr;
+
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/DirectCouponList.java b/src/main/java/org/apache/datasketches/hll/DirectCouponList.java
similarity index 79%
rename from src/main/java/com/yahoo/sketches/hll/DirectCouponList.java
rename to src/main/java/org/apache/datasketches/hll/DirectCouponList.java
index 4b8ae70..14b8b62 100644
--- a/src/main/java/com/yahoo/sketches/hll/DirectCouponList.java
+++ b/src/main/java/org/apache/datasketches/hll/DirectCouponList.java
@@ -17,44 +17,44 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_LIST_SIZE;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_SET_SIZE;
-import static com.yahoo.sketches.hll.HllUtil.noWriteAccess;
-import static com.yahoo.sketches.hll.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.hll.PreambleUtil.HASH_SET_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.LIST_INT_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.LIST_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.OUT_OF_ORDER_FLAG_MASK;
-import static com.yahoo.sketches.hll.PreambleUtil.computeLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractInt;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.extractListCount;
-import static com.yahoo.sketches.hll.PreambleUtil.extractOooFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCurMode;
-import static com.yahoo.sketches.hll.PreambleUtil.insertEmptyFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertFamilyId;
-import static com.yahoo.sketches.hll.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.hll.PreambleUtil.insertInt;
-import static com.yahoo.sketches.hll.PreambleUtil.insertKxQ0;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgK;
-import static com.yahoo.sketches.hll.PreambleUtil.insertListCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertModes;
-import static com.yahoo.sketches.hll.PreambleUtil.insertNumAtCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.insertOooFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertPreInts;
-import static com.yahoo.sketches.hll.PreambleUtil.insertSerVer;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_LIST_SIZE;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_SET_SIZE;
+import static org.apache.datasketches.hll.HllUtil.noWriteAccess;
+import static org.apache.datasketches.hll.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.hll.PreambleUtil.HASH_SET_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.LIST_INT_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.LIST_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.OUT_OF_ORDER_FLAG_MASK;
+import static org.apache.datasketches.hll.PreambleUtil.computeLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.extractCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractInt;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.extractListCount;
+import static org.apache.datasketches.hll.PreambleUtil.extractOooFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.insertCurMode;
+import static org.apache.datasketches.hll.PreambleUtil.insertEmptyFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertFamilyId;
+import static org.apache.datasketches.hll.PreambleUtil.insertFlags;
+import static org.apache.datasketches.hll.PreambleUtil.insertInt;
+import static org.apache.datasketches.hll.PreambleUtil.insertKxQ0;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgK;
+import static org.apache.datasketches.hll.PreambleUtil.insertListCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertModes;
+import static org.apache.datasketches.hll.PreambleUtil.insertNumAtCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.insertOooFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertPreInts;
+import static org.apache.datasketches.hll.PreambleUtil.insertSerVer;
+
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/DirectHll4Array.java b/src/main/java/org/apache/datasketches/hll/DirectHll4Array.java
similarity index 85%
rename from src/main/java/com/yahoo/sketches/hll/DirectHll4Array.java
rename to src/main/java/org/apache/datasketches/hll/DirectHll4Array.java
index 2d902a1..1cae169 100644
--- a/src/main/java/com/yahoo/sketches/hll/DirectHll4Array.java
+++ b/src/main/java/org/apache/datasketches/hll/DirectHll4Array.java
@@ -17,23 +17,23 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.AUX_TOKEN;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
-import static com.yahoo.sketches.hll.HllUtil.hiNibbleMask;
-import static com.yahoo.sketches.hll.HllUtil.loNibbleMask;
-import static com.yahoo.sketches.hll.HllUtil.noWriteAccess;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.extractAuxCount;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertAuxCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertInt;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgArr;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.AUX_TOKEN;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.hiNibbleMask;
+import static org.apache.datasketches.hll.HllUtil.loNibbleMask;
+import static org.apache.datasketches.hll.HllUtil.noWriteAccess;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.extractAuxCount;
+import static org.apache.datasketches.hll.PreambleUtil.extractCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertAuxCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertInt;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgArr;
+
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/DirectHll6Array.java b/src/main/java/org/apache/datasketches/hll/DirectHll6Array.java
similarity index 89%
rename from src/main/java/com/yahoo/sketches/hll/DirectHll6Array.java
rename to src/main/java/org/apache/datasketches/hll/DirectHll6Array.java
index c64e37f..8278550 100644
--- a/src/main/java/com/yahoo/sketches/hll/DirectHll6Array.java
+++ b/src/main/java/org/apache/datasketches/hll/DirectHll6Array.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.VAL_MASK_6;
-import static com.yahoo.sketches.hll.HllUtil.noWriteAccess;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.HllUtil.VAL_MASK_6;
+import static org.apache.datasketches.hll.HllUtil.noWriteAccess;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/DirectHll8Array.java b/src/main/java/org/apache/datasketches/hll/DirectHll8Array.java
similarity index 88%
rename from src/main/java/com/yahoo/sketches/hll/DirectHll8Array.java
rename to src/main/java/org/apache/datasketches/hll/DirectHll8Array.java
index 63c9535..8b046f6 100644
--- a/src/main/java/com/yahoo/sketches/hll/DirectHll8Array.java
+++ b/src/main/java/org/apache/datasketches/hll/DirectHll8Array.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.VAL_MASK_6;
-import static com.yahoo.sketches.hll.HllUtil.noWriteAccess;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.HllUtil.VAL_MASK_6;
+import static org.apache.datasketches.hll.HllUtil.noWriteAccess;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Uses 8 bits per slot in a byte array.
diff --git a/src/main/java/com/yahoo/sketches/hll/DirectHllArray.java b/src/main/java/org/apache/datasketches/hll/DirectHllArray.java
similarity index 76%
rename from src/main/java/com/yahoo/sketches/hll/DirectHllArray.java
rename to src/main/java/org/apache/datasketches/hll/DirectHllArray.java
index 4c22b36..8e5aa6d 100644
--- a/src/main/java/com/yahoo/sketches/hll/DirectHllArray.java
+++ b/src/main/java/org/apache/datasketches/hll/DirectHllArray.java
@@ -17,34 +17,34 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.PreambleUtil.CUR_MIN_COUNT_INT;
-import static com.yahoo.sketches.hll.PreambleUtil.HIP_ACCUM_DOUBLE;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCurMode;
-import static com.yahoo.sketches.hll.PreambleUtil.extractEmptyFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractHipAccum;
-import static com.yahoo.sketches.hll.PreambleUtil.extractKxQ0;
-import static com.yahoo.sketches.hll.PreambleUtil.extractKxQ1;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgK;
-import static com.yahoo.sketches.hll.PreambleUtil.extractNumAtCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.extractOooFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractTgtHllType;
-import static com.yahoo.sketches.hll.PreambleUtil.insertAuxCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.insertHipAccum;
-import static com.yahoo.sketches.hll.PreambleUtil.insertKxQ0;
-import static com.yahoo.sketches.hll.PreambleUtil.insertKxQ1;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.insertNumAtCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.insertOooFlag;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.PreambleUtil.CUR_MIN_COUNT_INT;
+import static org.apache.datasketches.hll.PreambleUtil.HIP_ACCUM_DOUBLE;
+import static org.apache.datasketches.hll.PreambleUtil.extractCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.extractCurMode;
+import static org.apache.datasketches.hll.PreambleUtil.extractEmptyFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractHipAccum;
+import static org.apache.datasketches.hll.PreambleUtil.extractKxQ0;
+import static org.apache.datasketches.hll.PreambleUtil.extractKxQ1;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgK;
+import static org.apache.datasketches.hll.PreambleUtil.extractNumAtCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.extractOooFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractTgtHllType;
+import static org.apache.datasketches.hll.PreambleUtil.insertAuxCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.insertHipAccum;
+import static org.apache.datasketches.hll.PreambleUtil.insertKxQ0;
+import static org.apache.datasketches.hll.PreambleUtil.insertKxQ1;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.insertNumAtCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.insertOooFlag;
+
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/HarmonicNumbers.java b/src/main/java/org/apache/datasketches/hll/HarmonicNumbers.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hll/HarmonicNumbers.java
rename to src/main/java/org/apache/datasketches/hll/HarmonicNumbers.java
index 93c625c..1d236d2 100644
--- a/src/main/java/com/yahoo/sketches/hll/HarmonicNumbers.java
+++ b/src/main/java/org/apache/datasketches/hll/HarmonicNumbers.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/HeapAuxHashMap.java b/src/main/java/org/apache/datasketches/hll/HeapAuxHashMap.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/hll/HeapAuxHashMap.java
rename to src/main/java/org/apache/datasketches/hll/HeapAuxHashMap.java
index f4fdd9f..27c5df3 100644
--- a/src/main/java/com/yahoo/sketches/hll/HeapAuxHashMap.java
+++ b/src/main/java/org/apache/datasketches/hll/HeapAuxHashMap.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_DENOM;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_NUMER;
-import static com.yahoo.sketches.hll.PreambleUtil.extractInt;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgArr;
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_DENOM;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_NUMER;
+import static org.apache.datasketches.hll.PreambleUtil.extractInt;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgArr;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/Hll4Array.java b/src/main/java/org/apache/datasketches/hll/Hll4Array.java
similarity index 86%
rename from src/main/java/com/yahoo/sketches/hll/Hll4Array.java
rename to src/main/java/org/apache/datasketches/hll/Hll4Array.java
index 6ad4390..05515a5 100644
--- a/src/main/java/com/yahoo/sketches/hll/Hll4Array.java
+++ b/src/main/java/org/apache/datasketches/hll/Hll4Array.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.AUX_TOKEN;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
-import static com.yahoo.sketches.hll.HllUtil.hiNibbleMask;
-import static com.yahoo.sketches.hll.HllUtil.loNibbleMask;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.extractAuxCount;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgK;
-
-import com.yahoo.memory.Memory;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.AUX_TOKEN;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.hiNibbleMask;
+import static org.apache.datasketches.hll.HllUtil.loNibbleMask;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.extractAuxCount;
+import static org.apache.datasketches.hll.PreambleUtil.extractCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgK;
+
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Uses 4 bits per slot in a packed byte array.
diff --git a/src/main/java/com/yahoo/sketches/hll/Hll4Update.java b/src/main/java/org/apache/datasketches/hll/Hll4Update.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hll/Hll4Update.java
rename to src/main/java/org/apache/datasketches/hll/Hll4Update.java
index 3d8c8eb..47dc15f 100644
--- a/src/main/java/com/yahoo/sketches/hll/Hll4Update.java
+++ b/src/main/java/org/apache/datasketches/hll/Hll4Update.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.AUX_TOKEN;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.AUX_TOKEN;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
 
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * Update process common to Heap Hll 4 and Direct Hll 4
diff --git a/src/main/java/com/yahoo/sketches/hll/Hll6Array.java b/src/main/java/org/apache/datasketches/hll/Hll6Array.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/hll/Hll6Array.java
rename to src/main/java/org/apache/datasketches/hll/Hll6Array.java
index bf1708c..a3418a4 100644
--- a/src/main/java/com/yahoo/sketches/hll/Hll6Array.java
+++ b/src/main/java/org/apache/datasketches/hll/Hll6Array.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.VAL_MASK_6;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgK;
+import static org.apache.datasketches.hll.HllUtil.VAL_MASK_6;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgK;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Uses 6 bits per slot in a packed byte array.
diff --git a/src/main/java/com/yahoo/sketches/hll/Hll8Array.java b/src/main/java/org/apache/datasketches/hll/Hll8Array.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/hll/Hll8Array.java
rename to src/main/java/org/apache/datasketches/hll/Hll8Array.java
index 2777c0e..5ae5c78 100644
--- a/src/main/java/com/yahoo/sketches/hll/Hll8Array.java
+++ b/src/main/java/org/apache/datasketches/hll/Hll8Array.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.VAL_MASK_6;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgK;
+import static org.apache.datasketches.hll.HllUtil.VAL_MASK_6;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgK;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Uses 8 bits per slot in a byte array.
diff --git a/src/main/java/com/yahoo/sketches/hll/HllArray.java b/src/main/java/org/apache/datasketches/hll/HllArray.java
similarity index 88%
rename from src/main/java/com/yahoo/sketches/hll/HllArray.java
rename to src/main/java/org/apache/datasketches/hll/HllArray.java
index 112a6cc..6b95a5b 100644
--- a/src/main/java/com/yahoo/sketches/hll/HllArray.java
+++ b/src/main/java/org/apache/datasketches/hll/HllArray.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.extractHipAccum;
-import static com.yahoo.sketches.hll.PreambleUtil.extractKxQ0;
-import static com.yahoo.sketches.hll.PreambleUtil.extractKxQ1;
-import static com.yahoo.sketches.hll.PreambleUtil.extractNumAtCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.extractOooFlag;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.extractCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.extractHipAccum;
+import static org.apache.datasketches.hll.PreambleUtil.extractKxQ0;
+import static org.apache.datasketches.hll.PreambleUtil.extractKxQ1;
+import static org.apache.datasketches.hll.PreambleUtil.extractNumAtCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.extractOooFlag;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/HllEstimators.java b/src/main/java/org/apache/datasketches/hll/HllEstimators.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/hll/HllEstimators.java
rename to src/main/java/org/apache/datasketches/hll/HllEstimators.java
index ba14204..634328e 100644
--- a/src/main/java/com/yahoo/sketches/hll/HllEstimators.java
+++ b/src/main/java/org/apache/datasketches/hll/HllEstimators.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.HLL_HIP_RSE_FACTOR;
-import static com.yahoo.sketches.hll.HllUtil.HLL_NON_HIP_RSE_FACTOR;
-import static com.yahoo.sketches.hll.HllUtil.MIN_LOG_K;
+import static org.apache.datasketches.hll.HllUtil.HLL_HIP_RSE_FACTOR;
+import static org.apache.datasketches.hll.HllUtil.HLL_NON_HIP_RSE_FACTOR;
+import static org.apache.datasketches.hll.HllUtil.MIN_LOG_K;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/HllPairIterator.java b/src/main/java/org/apache/datasketches/hll/HllPairIterator.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/hll/HllPairIterator.java
rename to src/main/java/org/apache/datasketches/hll/HllPairIterator.java
index d59f9a2..a19f2fc 100644
--- a/src/main/java/com/yahoo/sketches/hll/HllPairIterator.java
+++ b/src/main/java/org/apache/datasketches/hll/HllPairIterator.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.pair;
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.pair;
 
 /**
  * Iterates over an on-heap HLL byte array producing pairs of index, value.
diff --git a/src/main/java/com/yahoo/sketches/hll/HllSketch.java b/src/main/java/org/apache/datasketches/hll/HllSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/hll/HllSketch.java
rename to src/main/java/org/apache/datasketches/hll/HllSketch.java
index c38f17d..917a646 100644
--- a/src/main/java/com/yahoo/sketches/hll/HllSketch.java
+++ b/src/main/java/org/apache/datasketches/hll/HllSketch.java
@@ -17,19 +17,19 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
-import static com.yahoo.sketches.hll.HllUtil.checkPreamble;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.extractLgK;
-import static com.yahoo.sketches.hll.PreambleUtil.extractTgtHllType;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.checkPreamble;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.extractCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.extractLgK;
+import static org.apache.datasketches.hll.PreambleUtil.extractTgtHllType;
+
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This is a high performance implementation of Phillipe Flajolet&#8217;s HLL sketch but with
diff --git a/src/main/java/com/yahoo/sketches/hll/HllSketchImpl.java b/src/main/java/org/apache/datasketches/hll/HllSketchImpl.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/hll/HllSketchImpl.java
rename to src/main/java/org/apache/datasketches/hll/HllSketchImpl.java
index c1b9a5f..c1e7624 100644
--- a/src/main/java/com/yahoo/sketches/hll/HllSketchImpl.java
+++ b/src/main/java/org/apache/datasketches/hll/HllSketchImpl.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The Abstract HllSketch implementation
diff --git a/src/main/java/com/yahoo/sketches/hll/HllUtil.java b/src/main/java/org/apache/datasketches/hll/HllUtil.java
similarity index 86%
rename from src/main/java/com/yahoo/sketches/hll/HllUtil.java
rename to src/main/java/org/apache/datasketches/hll/HllUtil.java
index f5d4b87..6489d59 100644
--- a/src/main/java/com/yahoo/sketches/hll/HllUtil.java
+++ b/src/main/java/org/apache/datasketches/hll/HllUtil.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.PreambleUtil.HASH_SET_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.LIST_PREINTS;
-import static com.yahoo.sketches.hll.PreambleUtil.extractCurMode;
-import static com.yahoo.sketches.hll.PreambleUtil.extractFamilyId;
-import static com.yahoo.sketches.hll.PreambleUtil.extractPreInts;
-import static com.yahoo.sketches.hll.PreambleUtil.extractSerVer;
+package org.apache.datasketches.hll;
+
 import static java.lang.Math.log;
 import static java.lang.Math.sqrt;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import static org.apache.datasketches.hll.PreambleUtil.HASH_SET_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.LIST_PREINTS;
+import static org.apache.datasketches.hll.PreambleUtil.extractCurMode;
+import static org.apache.datasketches.hll.PreambleUtil.extractFamilyId;
+import static org.apache.datasketches.hll.PreambleUtil.extractPreInts;
+import static org.apache.datasketches.hll.PreambleUtil.extractSerVer;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/IntArrayPairIterator.java b/src/main/java/org/apache/datasketches/hll/IntArrayPairIterator.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/hll/IntArrayPairIterator.java
rename to src/main/java/org/apache/datasketches/hll/IntArrayPairIterator.java
index a4bd14c..a932ca4 100644
--- a/src/main/java/com/yahoo/sketches/hll/IntArrayPairIterator.java
+++ b/src/main/java/org/apache/datasketches/hll/IntArrayPairIterator.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
 
 /**
  * Iterates over an on-heap integer array extracting pairs.
diff --git a/src/main/java/com/yahoo/sketches/hll/IntMemoryPairIterator.java b/src/main/java/org/apache/datasketches/hll/IntMemoryPairIterator.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/hll/IntMemoryPairIterator.java
rename to src/main/java/org/apache/datasketches/hll/IntMemoryPairIterator.java
index 5dd73f1..4dd95ac 100644
--- a/src/main/java/com/yahoo/sketches/hll/IntMemoryPairIterator.java
+++ b/src/main/java/org/apache/datasketches/hll/IntMemoryPairIterator.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Iterates within a given Memory extracting integer pairs.
diff --git a/src/main/java/com/yahoo/sketches/hll/PairIterator.java b/src/main/java/org/apache/datasketches/hll/PairIterator.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hll/PairIterator.java
rename to src/main/java/org/apache/datasketches/hll/PairIterator.java
index 71b46d0..cc4fa81 100644
--- a/src/main/java/com/yahoo/sketches/hll/PairIterator.java
+++ b/src/main/java/org/apache/datasketches/hll/PairIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/PreambleUtil.java b/src/main/java/org/apache/datasketches/hll/PreambleUtil.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/hll/PreambleUtil.java
rename to src/main/java/org/apache/datasketches/hll/PreambleUtil.java
index 610949a..070f27b 100644
--- a/src/main/java/com/yahoo/sketches/hll/PreambleUtil.java
+++ b/src/main/java/org/apache/datasketches/hll/PreambleUtil.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.Util.simpleIntLog2;
-import static com.yahoo.sketches.Util.zeroPad;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_SET_SIZE;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_DENOM;
-import static com.yahoo.sketches.hll.HllUtil.RESIZE_NUMER;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.simpleIntLog2;
+import static org.apache.datasketches.Util.zeroPad;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_SET_SIZE;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_DENOM;
+import static org.apache.datasketches.hll.HllUtil.RESIZE_NUMER;
 
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 //@formatter:off
 /**
diff --git a/src/main/java/com/yahoo/sketches/hll/RelativeErrorTables.java b/src/main/java/org/apache/datasketches/hll/RelativeErrorTables.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/hll/RelativeErrorTables.java
rename to src/main/java/org/apache/datasketches/hll/RelativeErrorTables.java
index 68ec120..8942b6d 100644
--- a/src/main/java/com/yahoo/sketches/hll/RelativeErrorTables.java
+++ b/src/main/java/org/apache/datasketches/hll/RelativeErrorTables.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/TgtHllType.java b/src/main/java/org/apache/datasketches/hll/TgtHllType.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hll/TgtHllType.java
rename to src/main/java/org/apache/datasketches/hll/TgtHllType.java
index 50bbafc..b2b10f0 100644
--- a/src/main/java/com/yahoo/sketches/hll/TgtHllType.java
+++ b/src/main/java/org/apache/datasketches/hll/TgtHllType.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 /**
  * Specifies the target type of HLL sketch to be created. It is a target in that the actual
diff --git a/src/main/java/com/yahoo/sketches/hll/ToByteArrayImpl.java b/src/main/java/org/apache/datasketches/hll/ToByteArrayImpl.java
similarity index 82%
rename from src/main/java/com/yahoo/sketches/hll/ToByteArrayImpl.java
rename to src/main/java/org/apache/datasketches/hll/ToByteArrayImpl.java
index 644c696..7b97e8f 100644
--- a/src/main/java/com/yahoo/sketches/hll/ToByteArrayImpl.java
+++ b/src/main/java/org/apache/datasketches/hll/ToByteArrayImpl.java
@@ -17,35 +17,35 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.AbstractCoupons.find;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
-import static com.yahoo.sketches.hll.PreambleUtil.AUX_COUNT_INT;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.insertAuxCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCompactFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.insertCurMode;
-import static com.yahoo.sketches.hll.PreambleUtil.insertEmptyFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertFamilyId;
-import static com.yahoo.sketches.hll.PreambleUtil.insertHashSetCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertHipAccum;
-import static com.yahoo.sketches.hll.PreambleUtil.insertInt;
-import static com.yahoo.sketches.hll.PreambleUtil.insertKxQ0;
-import static com.yahoo.sketches.hll.PreambleUtil.insertKxQ1;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgArr;
-import static com.yahoo.sketches.hll.PreambleUtil.insertLgK;
-import static com.yahoo.sketches.hll.PreambleUtil.insertListCount;
-import static com.yahoo.sketches.hll.PreambleUtil.insertNumAtCurMin;
-import static com.yahoo.sketches.hll.PreambleUtil.insertOooFlag;
-import static com.yahoo.sketches.hll.PreambleUtil.insertPreInts;
-import static com.yahoo.sketches.hll.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.hll.PreambleUtil.insertTgtHllType;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesStateException;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.AbstractCoupons.find;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.PreambleUtil.AUX_COUNT_INT;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.insertAuxCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertCompactFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.insertCurMode;
+import static org.apache.datasketches.hll.PreambleUtil.insertEmptyFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertFamilyId;
+import static org.apache.datasketches.hll.PreambleUtil.insertHashSetCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertHipAccum;
+import static org.apache.datasketches.hll.PreambleUtil.insertInt;
+import static org.apache.datasketches.hll.PreambleUtil.insertKxQ0;
+import static org.apache.datasketches.hll.PreambleUtil.insertKxQ1;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgArr;
+import static org.apache.datasketches.hll.PreambleUtil.insertLgK;
+import static org.apache.datasketches.hll.PreambleUtil.insertListCount;
+import static org.apache.datasketches.hll.PreambleUtil.insertNumAtCurMin;
+import static org.apache.datasketches.hll.PreambleUtil.insertOooFlag;
+import static org.apache.datasketches.hll.PreambleUtil.insertPreInts;
+import static org.apache.datasketches.hll.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.hll.PreambleUtil.insertTgtHllType;
+
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/hll/Union.java b/src/main/java/org/apache/datasketches/hll/Union.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hll/Union.java
rename to src/main/java/org/apache/datasketches/hll/Union.java
index 5a11136..bc3988a 100644
--- a/src/main/java/com/yahoo/sketches/hll/Union.java
+++ b/src/main/java/org/apache/datasketches/hll/Union.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.CurMode.HLL;
-import static com.yahoo.sketches.hll.HllUtil.EMPTY;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
 import static java.lang.Math.min;
+import static org.apache.datasketches.hll.CurMode.HLL;
+import static org.apache.datasketches.hll.HllUtil.EMPTY;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This performs union operations for HLL sketches. This union operator is configured with a
diff --git a/src/main/java/com/yahoo/sketches/hll/package-info.java b/src/main/java/org/apache/datasketches/hll/package-info.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hll/package-info.java
rename to src/main/java/org/apache/datasketches/hll/package-info.java
index 419f40a..a06359e 100644
--- a/src/main/java/com/yahoo/sketches/hll/package-info.java
+++ b/src/main/java/org/apache/datasketches/hll/package-info.java
@@ -37,4 +37,4 @@
  * @author Kevin Lang
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
diff --git a/src/main/java/com/yahoo/sketches/hllmap/CouponHashMap.java b/src/main/java/org/apache/datasketches/hllmap/CouponHashMap.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hllmap/CouponHashMap.java
rename to src/main/java/org/apache/datasketches/hllmap/CouponHashMap.java
index 2d4d00e..5e43bb6 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/CouponHashMap.java
+++ b/src/main/java/org/apache/datasketches/hllmap/CouponHashMap.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
-import static com.yahoo.sketches.Util.checkIfPowerOf2;
-import static com.yahoo.sketches.Util.invPow2;
+import static org.apache.datasketches.Util.checkIfPowerOf2;
+import static org.apache.datasketches.Util.invPow2;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.hash.MurmurHash3;
 
 /**
  * Implements a key-value map where the value is a hash map of coupons.
diff --git a/src/main/java/com/yahoo/sketches/hllmap/CouponTraverseMap.java b/src/main/java/org/apache/datasketches/hllmap/CouponTraverseMap.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hllmap/CouponTraverseMap.java
rename to src/main/java/org/apache/datasketches/hllmap/CouponTraverseMap.java
index fca9fce..894d295 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/CouponTraverseMap.java
+++ b/src/main/java/org/apache/datasketches/hllmap/CouponTraverseMap.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.hash.MurmurHash3;
 
 /**
  * Implements a key-value map where the value is a simple array of coupons. Search operations are a
diff --git a/src/main/java/com/yahoo/sketches/hllmap/CouponsIterator.java b/src/main/java/org/apache/datasketches/hllmap/CouponsIterator.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/hllmap/CouponsIterator.java
rename to src/main/java/org/apache/datasketches/hllmap/CouponsIterator.java
index 6d002b0..81f2d75 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/CouponsIterator.java
+++ b/src/main/java/org/apache/datasketches/hllmap/CouponsIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 /**
  * Common iterator class for maps that need one.
diff --git a/src/main/java/com/yahoo/sketches/hllmap/HllMap.java b/src/main/java/org/apache/datasketches/hllmap/HllMap.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hllmap/HllMap.java
rename to src/main/java/org/apache/datasketches/hllmap/HllMap.java
index 5e857af..f774c33 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/HllMap.java
+++ b/src/main/java/org/apache/datasketches/hllmap/HllMap.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
-import static com.yahoo.sketches.Util.invPow2;
 import static java.lang.Math.log;
 import static java.lang.Math.sqrt;
+import static org.apache.datasketches.Util.invPow2;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.hash.MurmurHash3;
 
 /**
  * Implements a key-value map where the value is a compact HLL sketch of size k.
diff --git a/src/main/java/com/yahoo/sketches/hllmap/Map.java b/src/main/java/org/apache/datasketches/hllmap/Map.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/hllmap/Map.java
rename to src/main/java/org/apache/datasketches/hllmap/Map.java
index 76016dc..dab95f2 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/Map.java
+++ b/src/main/java/org/apache/datasketches/hllmap/Map.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 import java.math.BigInteger;
 
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.hash.MurmurHash3;
 
 /**
  * Base class and API for all the maps.
diff --git a/src/main/java/com/yahoo/sketches/hllmap/SingleCouponMap.java b/src/main/java/org/apache/datasketches/hllmap/SingleCouponMap.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/hllmap/SingleCouponMap.java
rename to src/main/java/org/apache/datasketches/hllmap/SingleCouponMap.java
index 201e563..594576d 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/SingleCouponMap.java
+++ b/src/main/java/org/apache/datasketches/hllmap/SingleCouponMap.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.hash.MurmurHash3;
 
 /**
  * Implements a key-value map where the value is a single coupon or a map reference.
diff --git a/src/main/java/com/yahoo/sketches/hllmap/UniqueCountMap.java b/src/main/java/org/apache/datasketches/hllmap/UniqueCountMap.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/hllmap/UniqueCountMap.java
rename to src/main/java/org/apache/datasketches/hllmap/UniqueCountMap.java
index 28dad76..6ed832f 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/UniqueCountMap.java
+++ b/src/main/java/org/apache/datasketches/hllmap/UniqueCountMap.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * This is a real-time, key-value HLL mapping sketch that tracks approximate unique counts of
diff --git a/src/main/java/com/yahoo/sketches/hllmap/package-info.java b/src/main/java/org/apache/datasketches/hllmap/package-info.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/hllmap/package-info.java
rename to src/main/java/org/apache/datasketches/hllmap/package-info.java
index d0b570f..0ba1bb8 100644
--- a/src/main/java/com/yahoo/sketches/hllmap/package-info.java
+++ b/src/main/java/org/apache/datasketches/hllmap/package-info.java
@@ -33,10 +33,10 @@
  * and provides an RSE of less than 2.5%. Your results will vary depending on the actual
  * distribution of identifiers per key.
  *
- * @see com.yahoo.sketches.hllmap.UniqueCountMap
+ * @see org.apache.datasketches.hllmap.UniqueCountMap
  *
  * @author Lee Rhodes
  * @author Kevin Lang
  * @author Alexander Saydakov
  */
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
diff --git a/src/main/java/com/yahoo/sketches/kll/KllFloatsQuantileCalculator.java b/src/main/java/org/apache/datasketches/kll/KllFloatsQuantileCalculator.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/kll/KllFloatsQuantileCalculator.java
rename to src/main/java/org/apache/datasketches/kll/KllFloatsQuantileCalculator.java
index 2bc0bb0..990feb3 100644
--- a/src/main/java/com/yahoo/sketches/kll/KllFloatsQuantileCalculator.java
+++ b/src/main/java/org/apache/datasketches/kll/KllFloatsQuantileCalculator.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.QuantilesHelper;
+import org.apache.datasketches.QuantilesHelper;
 
 /**
  * Data structure for answering quantile queries based on the samples from KllSketch
diff --git a/src/main/java/com/yahoo/sketches/kll/KllFloatsSketch.java b/src/main/java/org/apache/datasketches/kll/KllFloatsSketch.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/kll/KllFloatsSketch.java
rename to src/main/java/org/apache/datasketches/kll/KllFloatsSketch.java
index 6ca4b9b..f564985 100644
--- a/src/main/java/com/yahoo/sketches/kll/KllFloatsSketch.java
+++ b/src/main/java/org/apache/datasketches/kll/KllFloatsSketch.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 import static java.lang.Math.abs;
 import static java.lang.Math.ceil;
@@ -30,12 +30,12 @@ import static java.lang.Math.round;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.ByteArrayUtil;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.QuantilesHelper;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.ByteArrayUtil;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.QuantilesHelper;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Implementation of a very compact quantiles sketch with lazy compaction scheme
diff --git a/src/main/java/com/yahoo/sketches/kll/KllFloatsSketchIterator.java b/src/main/java/org/apache/datasketches/kll/KllFloatsSketchIterator.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/kll/KllFloatsSketchIterator.java
rename to src/main/java/org/apache/datasketches/kll/KllFloatsSketchIterator.java
index 99c0421..2642bd2 100644
--- a/src/main/java/com/yahoo/sketches/kll/KllFloatsSketchIterator.java
+++ b/src/main/java/org/apache/datasketches/kll/KllFloatsSketchIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 /**
  * Iterator over KllFloatsSketch. The order is not defined.
diff --git a/src/main/java/com/yahoo/sketches/kll/KllHelper.java b/src/main/java/org/apache/datasketches/kll/KllHelper.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/kll/KllHelper.java
rename to src/main/java/org/apache/datasketches/kll/KllHelper.java
index 8894dcb..2a4a3d3 100644
--- a/src/main/java/com/yahoo/sketches/kll/KllHelper.java
+++ b/src/main/java/org/apache/datasketches/kll/KllHelper.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 import java.util.Arrays;
 import java.util.Random;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * Static methods to support KllSketch
diff --git a/src/main/java/com/yahoo/sketches/kll/package-info.java b/src/main/java/org/apache/datasketches/kll/package-info.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/kll/package-info.java
rename to src/main/java/org/apache/datasketches/kll/package-info.java
index 5534726..9dc3a2a 100644
--- a/src/main/java/com/yahoo/sketches/kll/package-info.java
+++ b/src/main/java/org/apache/datasketches/kll/package-info.java
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
diff --git a/src/main/java/com/yahoo/sketches/package-info.java b/src/main/java/org/apache/datasketches/package-info.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/package-info.java
rename to src/main/java/org/apache/datasketches/package-info.java
index d6f48af..ffe2f13 100644
--- a/src/main/java/com/yahoo/sketches/package-info.java
+++ b/src/main/java/org/apache/datasketches/package-info.java
@@ -23,4 +23,4 @@
  *
  * @author Lee Rhodes
  */
-package com.yahoo.sketches;
+package org.apache.datasketches;
diff --git a/src/main/java/com/yahoo/sketches/quantiles/CompactDoublesSketch.java b/src/main/java/org/apache/datasketches/quantiles/CompactDoublesSketch.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/quantiles/CompactDoublesSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/CompactDoublesSketch.java
index 6b38f5d..37d0ec6 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/CompactDoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/CompactDoublesSketch.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Jon Malkin
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DirectCompactDoublesSketch.java b/src/main/java/org/apache/datasketches/quantiles/DirectCompactDoublesSketch.java
similarity index 77%
rename from src/main/java/com/yahoo/sketches/quantiles/DirectCompactDoublesSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/DirectCompactDoublesSketch.java
index de03a27..3cba8ad 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DirectCompactDoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DirectCompactDoublesSketch.java
@@ -17,40 +17,40 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMBINED_BUFFER;
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MAX_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MIN_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.N_LONG;
-import static com.yahoo.sketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertMaxDouble;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertMinDouble;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.quantiles.Util.computeBaseBufferItems;
-import static com.yahoo.sketches.quantiles.Util.computeBitPattern;
-import static com.yahoo.sketches.quantiles.Util.computeRetainedItems;
+package org.apache.datasketches.quantiles;
+
+import static org.apache.datasketches.quantiles.PreambleUtil.COMBINED_BUFFER;
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.MAX_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.MIN_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.N_LONG;
+import static org.apache.datasketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractN;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertK;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertMaxDouble;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertMinDouble;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertN;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.quantiles.Util.computeBaseBufferItems;
+import static org.apache.datasketches.quantiles.Util.computeBitPattern;
+import static org.apache.datasketches.quantiles.Util.computeRetainedItems;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Implements the DoublesSketch off-heap.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DirectDoublesSketchAccessor.java b/src/main/java/org/apache/datasketches/quantiles/DirectDoublesSketchAccessor.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/DirectDoublesSketchAccessor.java
rename to src/main/java/org/apache/datasketches/quantiles/DirectDoublesSketchAccessor.java
index c000152..523eac4 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DirectDoublesSketchAccessor.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DirectDoublesSketchAccessor.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Jon Malkin
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DirectUpdateDoublesSketch.java b/src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketch.java
similarity index 81%
rename from src/main/java/com/yahoo/sketches/quantiles/DirectUpdateDoublesSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketch.java
index a141fcd..67b102b 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DirectUpdateDoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketch.java
@@ -17,33 +17,33 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMBINED_BUFFER;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MAX_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MIN_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.N_LONG;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertMaxDouble;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertMinDouble;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.quantiles.Util.computeBitPattern;
-
-import com.yahoo.memory.MemoryRequestServer;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
+package org.apache.datasketches.quantiles;
+
+import static org.apache.datasketches.quantiles.PreambleUtil.COMBINED_BUFFER;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.quantiles.PreambleUtil.MAX_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.MIN_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.N_LONG;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractN;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertK;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertMaxDouble;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertMinDouble;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertN;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.quantiles.Util.computeBitPattern;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.MemoryRequestServer;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Implements the DoublesSketch off-heap.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DirectUpdateDoublesSketchR.java b/src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketchR.java
similarity index 83%
rename from src/main/java/com/yahoo/sketches/quantiles/DirectUpdateDoublesSketchR.java
rename to src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketchR.java
index 71bba77..161b0e7 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DirectUpdateDoublesSketchR.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketchR.java
@@ -17,27 +17,27 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMBINED_BUFFER;
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MAX_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MIN_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.N_LONG;
-import static com.yahoo.sketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractSerVer;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesReadOnlyException;
+package org.apache.datasketches.quantiles;
+
+import static org.apache.datasketches.quantiles.PreambleUtil.COMBINED_BUFFER;
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.MAX_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.MIN_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.N_LONG;
+import static org.apache.datasketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractN;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractSerVer;
+
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesReadOnlyException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Implements the DoublesSketch off-heap.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesArrayAccessor.java b/src/main/java/org/apache/datasketches/quantiles/DoublesArrayAccessor.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesArrayAccessor.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesArrayAccessor.java
index 97fd606..71b2331 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesArrayAccessor.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesArrayAccessor.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 import java.util.Arrays;
 
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesAuxiliary.java b/src/main/java/org/apache/datasketches/quantiles/DoublesAuxiliary.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesAuxiliary.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesAuxiliary.java
index 658cbac..06b53b4 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesAuxiliary.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesAuxiliary.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.quantiles.DoublesSketchAccessor.BB_LVL_IDX;
-import static com.yahoo.sketches.quantiles.Util.checkFractionalRankBounds;
 import static java.lang.System.arraycopy;
+import static org.apache.datasketches.quantiles.DoublesSketchAccessor.BB_LVL_IDX;
+import static org.apache.datasketches.quantiles.Util.checkFractionalRankBounds;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.QuantilesHelper;
+import org.apache.datasketches.QuantilesHelper;
 
 /**
  * Auxiliary data structure for answering quantile queries
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesBufferAccessor.java b/src/main/java/org/apache/datasketches/quantiles/DoublesBufferAccessor.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesBufferAccessor.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesBufferAccessor.java
index 88ee97c..571369e 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesBufferAccessor.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesBufferAccessor.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 /**
  * @author Jon Malkin
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesByteArrayImpl.java b/src/main/java/org/apache/datasketches/quantiles/DoublesByteArrayImpl.java
similarity index 81%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesByteArrayImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesByteArrayImpl.java
index 84bc1d3..540fbe4 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesByteArrayImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesByteArrayImpl.java
@@ -17,25 +17,25 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertMaxDouble;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertMinDouble;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertSerVer;
+package org.apache.datasketches.quantiles;
+
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertK;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertMaxDouble;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertMinDouble;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertN;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertSerVer;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The doubles to byte array algorithms.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesMergeImpl.java b/src/main/java/org/apache/datasketches/quantiles/DoublesMergeImpl.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesMergeImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesMergeImpl.java
index 9822567..6696c8f 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesMergeImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesMergeImpl.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Util.checkIfPowerOf2;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.Util.checkIfPowerOf2;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.FLAGS_BYTE;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Down-sampling and merge algorithms for doubles quantiles.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesPmfCdfImpl.java b/src/main/java/org/apache/datasketches/quantiles/DoublesPmfCdfImpl.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesPmfCdfImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesPmfCdfImpl.java
index 0853c48..49e0878 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesPmfCdfImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesPmfCdfImpl.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 /**
  * The PMF and CDF algorithms for quantiles.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketch.java b/src/main/java/org/apache/datasketches/quantiles/DoublesSketch.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesSketch.java
index 6405ebb..f8cf65b 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesSketch.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.quantiles.Util.checkIsCompactMemory;
 import static java.lang.Math.max;
 import static java.lang.Math.min;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.quantiles.Util.checkIsCompactMemory;
 
 import java.util.Random;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.QuantilesHelper;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.kll.KllFloatsSketch;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.QuantilesHelper;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.kll.KllFloatsSketch;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 
 /**
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketchAccessor.java b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchAccessor.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesSketchAccessor.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesSketchAccessor.java
index 5152639..0715584 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketchAccessor.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchAccessor.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMBINED_BUFFER;
+import static org.apache.datasketches.quantiles.PreambleUtil.COMBINED_BUFFER;
 
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.Family;
 
 /**
  * This allows access to package-private levels and data in whatever quantiles sketch you give
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketchBuilder.java b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchBuilder.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesSketchBuilder.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesSketchBuilder.java
index bf9d68a..9bd42a4 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketchBuilder.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchBuilder.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.quantiles.Util.LS;
-import static com.yahoo.sketches.quantiles.Util.TAB;
+import static org.apache.datasketches.quantiles.Util.LS;
+import static org.apache.datasketches.quantiles.Util.TAB;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * For building a new quantiles DoublesSketch.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketchIterator.java b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchIterator.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesSketchIterator.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesSketchIterator.java
index 0e13a18..621ae96 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesSketchIterator.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 /**
  * Iterator over DoublesSketch. The order is not defined.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnion.java b/src/main/java/org/apache/datasketches/quantiles/DoublesUnion.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesUnion.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesUnion.java
index 04f31cf..9553457 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnion.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesUnion.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The API for Union operations for quantiles DoublesSketches
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionBuilder.java b/src/main/java/org/apache/datasketches/quantiles/DoublesUnionBuilder.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesUnionBuilder.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesUnionBuilder.java
index 0bff5e1..66fdff6 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionBuilder.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesUnionBuilder.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * For building a new DoublesSketch Union operation.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java b/src/main/java/org/apache/datasketches/quantiles/DoublesUnionImpl.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesUnionImpl.java
index f453cb3..445c6dd 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesUnionImpl.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.quantiles.DoublesUtil.copyToHeap;
+import static org.apache.datasketches.quantiles.DoublesUtil.copyToHeap;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Union operation for on-heap.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImplR.java b/src/main/java/org/apache/datasketches/quantiles/DoublesUnionImplR.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImplR.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesUnionImplR.java
index 934b434..0614d1a 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImplR.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesUnionImplR.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Util.LS;
+import static org.apache.datasketches.Util.LS;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesReadOnlyException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesReadOnlyException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Union operation for on-heap.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesUpdateImpl.java b/src/main/java/org/apache/datasketches/quantiles/DoublesUpdateImpl.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesUpdateImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesUpdateImpl.java
index d417793..5019395 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesUpdateImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesUpdateImpl.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 /**
  * The doubles update algorithms for quantiles.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesUtil.java b/src/main/java/org/apache/datasketches/quantiles/DoublesUtil.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/quantiles/DoublesUtil.java
rename to src/main/java/org/apache/datasketches/quantiles/DoublesUtil.java
index 82f53c3..60b05b2 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesUtil.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesUtil.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Util.LS;
+import static org.apache.datasketches.Util.LS;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Utilities that support the doubles quantiles algorithms.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/HeapCompactDoublesSketch.java b/src/main/java/org/apache/datasketches/quantiles/HeapCompactDoublesSketch.java
similarity index 87%
rename from src/main/java/com/yahoo/sketches/quantiles/HeapCompactDoublesSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/HeapCompactDoublesSketch.java
index c16f3d8..c314364 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/HeapCompactDoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/HeapCompactDoublesSketch.java
@@ -17,28 +17,28 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MAX_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MIN_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.quantiles.Util.computeBaseBufferItems;
-import static com.yahoo.sketches.quantiles.Util.computeBitPattern;
-import static com.yahoo.sketches.quantiles.Util.computeRetainedItems;
+package org.apache.datasketches.quantiles;
+
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.MAX_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.MIN_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractN;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.quantiles.Util.computeBaseBufferItems;
+import static org.apache.datasketches.quantiles.Util.computeBitPattern;
+import static org.apache.datasketches.quantiles.Util.computeRetainedItems;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Implements the DoublesSketch on the Java heap.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/HeapDoublesSketchAccessor.java b/src/main/java/org/apache/datasketches/quantiles/HeapDoublesSketchAccessor.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/HeapDoublesSketchAccessor.java
rename to src/main/java/org/apache/datasketches/quantiles/HeapDoublesSketchAccessor.java
index 81e0dc3..88fd342 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/HeapDoublesSketchAccessor.java
+++ b/src/main/java/org/apache/datasketches/quantiles/HeapDoublesSketchAccessor.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 import java.util.Arrays;
 
diff --git a/src/main/java/com/yahoo/sketches/quantiles/HeapUpdateDoublesSketch.java b/src/main/java/org/apache/datasketches/quantiles/HeapUpdateDoublesSketch.java
similarity index 91%
rename from src/main/java/com/yahoo/sketches/quantiles/HeapUpdateDoublesSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/HeapUpdateDoublesSketch.java
index 7e83ba2..08f4585 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/HeapUpdateDoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/HeapUpdateDoublesSketch.java
@@ -17,29 +17,29 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MAX_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.MIN_DOUBLE;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.quantiles.Util.computeBaseBufferItems;
-import static com.yahoo.sketches.quantiles.Util.computeBitPattern;
-import static com.yahoo.sketches.quantiles.Util.computeCombinedBufferItemCapacity;
-import static com.yahoo.sketches.quantiles.Util.computeRetainedItems;
+package org.apache.datasketches.quantiles;
+
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.MAX_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.MIN_DOUBLE;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractN;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.quantiles.Util.computeBaseBufferItems;
+import static org.apache.datasketches.quantiles.Util.computeBitPattern;
+import static org.apache.datasketches.quantiles.Util.computeCombinedBufferItemCapacity;
+import static org.apache.datasketches.quantiles.Util.computeRetainedItems;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Implements the DoublesSketch on the Java heap.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsAuxiliary.java b/src/main/java/org/apache/datasketches/quantiles/ItemsAuxiliary.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsAuxiliary.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsAuxiliary.java
index 3c4827c..48c9866 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsAuxiliary.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsAuxiliary.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.quantiles.Util.checkFractionalRankBounds;
+import static org.apache.datasketches.quantiles.Util.checkFractionalRankBounds;
 
 import java.util.Arrays;
 import java.util.Comparator;
 
-import com.yahoo.sketches.QuantilesHelper;
+import org.apache.datasketches.QuantilesHelper;
 
 /**
  * Auxiliary data structure for answering generic quantile queries
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsByteArrayImpl.java b/src/main/java/org/apache/datasketches/quantiles/ItemsByteArrayImpl.java
similarity index 82%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsByteArrayImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsByteArrayImpl.java
index 58d0c32..0036ba4 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsByteArrayImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsByteArrayImpl.java
@@ -17,24 +17,24 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.insertSerVer;
+package org.apache.datasketches.quantiles;
+
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertK;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertN;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.insertSerVer;
 
 import java.lang.reflect.Array;
 import java.util.Arrays;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The items to byte array algorithms.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsMergeImpl.java b/src/main/java/org/apache/datasketches/quantiles/ItemsMergeImpl.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsMergeImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsMergeImpl.java
index fe4788d..2bf4564 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsMergeImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsMergeImpl.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Util.checkIfPowerOf2;
 import static java.lang.System.arraycopy;
+import static org.apache.datasketches.Util.checkIfPowerOf2;
 
 import java.util.Arrays;
 import java.util.Comparator;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * Down-sampling and merge algorithms for items quantiles.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsPmfCdfImpl.java b/src/main/java/org/apache/datasketches/quantiles/ItemsPmfCdfImpl.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsPmfCdfImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsPmfCdfImpl.java
index 05c3ad5..4f7c078 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsPmfCdfImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsPmfCdfImpl.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 import java.util.Arrays;
 import java.util.Comparator;
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsSketch.java b/src/main/java/org/apache/datasketches/quantiles/ItemsSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsSketch.java
index a3b56b9..20ec904 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsSketch.java
@@ -17,30 +17,30 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractN;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.quantiles.Util.computeBaseBufferItems;
-import static com.yahoo.sketches.quantiles.Util.computeBitPattern;
+package org.apache.datasketches.quantiles;
+
 import static java.lang.Math.max;
 import static java.lang.Math.min;
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFlags;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractN;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.quantiles.Util.computeBaseBufferItems;
+import static org.apache.datasketches.quantiles.Util.computeBitPattern;
 
 import java.lang.reflect.Array;
 import java.util.Arrays;
 import java.util.Comparator;
 import java.util.Random;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.QuantilesHelper;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.QuantilesHelper;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This is a stochastic streaming sketch that enables near-real time analysis of the
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsSketchIterator.java b/src/main/java/org/apache/datasketches/quantiles/ItemsSketchIterator.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsSketchIterator.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsSketchIterator.java
index 7117e8f..e983bab 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsSketchIterator.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsSketchIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 /**
  * Iterator over ItemsSketch. The order is not defined.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsUnion.java b/src/main/java/org/apache/datasketches/quantiles/ItemsUnion.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsUnion.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsUnion.java
index cc30d83..7ce9904 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsUnion.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsUnion.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Util.LS;
+import static org.apache.datasketches.Util.LS;
 
 import java.util.Comparator;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * The API for Union operations for generic ItemsSketches
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsUpdateImpl.java b/src/main/java/org/apache/datasketches/quantiles/ItemsUpdateImpl.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsUpdateImpl.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsUpdateImpl.java
index 22be825..1b6489b 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsUpdateImpl.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsUpdateImpl.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 import java.util.Arrays;
 import java.util.Comparator;
diff --git a/src/main/java/com/yahoo/sketches/quantiles/ItemsUtil.java b/src/main/java/org/apache/datasketches/quantiles/ItemsUtil.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/quantiles/ItemsUtil.java
rename to src/main/java/org/apache/datasketches/quantiles/ItemsUtil.java
index 205d8d2..cf4576a 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/ItemsUtil.java
+++ b/src/main/java/org/apache/datasketches/quantiles/ItemsUtil.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Util.LS;
+import static org.apache.datasketches.Util.LS;
 
 import java.util.Arrays;
 import java.util.Comparator;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * Utility class for generic quantiles sketch.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/PreambleUtil.java b/src/main/java/org/apache/datasketches/quantiles/PreambleUtil.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/PreambleUtil.java
rename to src/main/java/org/apache/datasketches/quantiles/PreambleUtil.java
index 65796d1..45990bc 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/PreambleUtil.java
+++ b/src/main/java/org/apache/datasketches/quantiles/PreambleUtil.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.Family.idToFamily;
-import static com.yahoo.sketches.quantiles.Util.LS;
-import static com.yahoo.sketches.quantiles.Util.computeRetainedItems;
+import static org.apache.datasketches.Family.idToFamily;
+import static org.apache.datasketches.quantiles.Util.LS;
+import static org.apache.datasketches.quantiles.Util.computeRetainedItems;
 
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 //@formatter:off
 
diff --git a/src/main/java/com/yahoo/sketches/quantiles/UpdateDoublesSketch.java b/src/main/java/org/apache/datasketches/quantiles/UpdateDoublesSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/quantiles/UpdateDoublesSketch.java
rename to src/main/java/org/apache/datasketches/quantiles/UpdateDoublesSketch.java
index 47b1de7..3983e57 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/UpdateDoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/quantiles/UpdateDoublesSketch.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Jon Malkin
diff --git a/src/main/java/com/yahoo/sketches/quantiles/Util.java b/src/main/java/org/apache/datasketches/quantiles/Util.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/quantiles/Util.java
rename to src/main/java/org/apache/datasketches/quantiles/Util.java
index fdffdbe..b360009 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/Util.java
+++ b/src/main/java/org/apache/datasketches/quantiles/Util.java
@@ -17,17 +17,8 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
-
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.Util.isPowerOf2;
-import static com.yahoo.sketches.quantiles.DoublesSketch.MAX_K;
-import static com.yahoo.sketches.quantiles.DoublesSketch.MIN_K;
-import static com.yahoo.sketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.quantiles.PreambleUtil.extractFlags;
+package org.apache.datasketches.quantiles;
+
 import static java.lang.Math.abs;
 import static java.lang.Math.ceil;
 import static java.lang.Math.exp;
@@ -36,10 +27,19 @@ import static java.lang.Math.max;
 import static java.lang.Math.min;
 import static java.lang.Math.pow;
 import static java.lang.Math.round;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.isPowerOf2;
+import static org.apache.datasketches.quantiles.DoublesSketch.MAX_K;
+import static org.apache.datasketches.quantiles.DoublesSketch.MIN_K;
+import static org.apache.datasketches.quantiles.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.quantiles.PreambleUtil.extractFlags;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Utility class for quantiles sketches.
diff --git a/src/main/java/com/yahoo/sketches/quantiles/package-info.java b/src/main/java/org/apache/datasketches/quantiles/package-info.java
similarity index 91%
rename from src/main/java/com/yahoo/sketches/quantiles/package-info.java
rename to src/main/java/org/apache/datasketches/quantiles/package-info.java
index 665dd61..ece328a 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/package-info.java
+++ b/src/main/java/org/apache/datasketches/quantiles/package-info.java
@@ -22,7 +22,7 @@
  * analysis of the distribution of a stream of real (double) values or generic items. 
  * </p>
  * 
- * @see com.yahoo.sketches.quantiles.DoublesSketch
+ * @see org.apache.datasketches.quantiles.DoublesSketch
  * @author Lee Rhodes
  */
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
diff --git a/src/main/java/com/yahoo/sketches/sampling/PreambleUtil.java b/src/main/java/org/apache/datasketches/sampling/PreambleUtil.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/sampling/PreambleUtil.java
rename to src/main/java/org/apache/datasketches/sampling/PreambleUtil.java
index 687b937..c5ca73a 100644
--- a/src/main/java/com/yahoo/sketches/sampling/PreambleUtil.java
+++ b/src/main/java/org/apache/datasketches/sampling/PreambleUtil.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
+package org.apache.datasketches.sampling;
 
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.zeroPad;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.zeroPad;
 
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 //@formatter:off
 
diff --git a/src/main/java/com/yahoo/sketches/sampling/ReservoirItemsSketch.java b/src/main/java/org/apache/datasketches/sampling/ReservoirItemsSketch.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/sampling/ReservoirItemsSketch.java
rename to src/main/java/org/apache/datasketches/sampling/ReservoirItemsSketch.java
index 389409f..3c4741c 100644
--- a/src/main/java/com/yahoo/sketches/sampling/ReservoirItemsSketch.java
+++ b/src/main/java/org/apache/datasketches/sampling/ReservoirItemsSketch.java
@@ -17,35 +17,35 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.sampling.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.sampling.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractEncodedReservoirSize;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractK;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractN;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractResizeFactor;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.sampling.SamplingUtil.pseudoHypergeometricLBonP;
-import static com.yahoo.sketches.sampling.SamplingUtil.pseudoHypergeometricUBonP;
+package org.apache.datasketches.sampling;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.sampling.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.sampling.PreambleUtil.SER_VER;
+import static org.apache.datasketches.sampling.PreambleUtil.extractEncodedReservoirSize;
+import static org.apache.datasketches.sampling.PreambleUtil.extractFlags;
+import static org.apache.datasketches.sampling.PreambleUtil.extractK;
+import static org.apache.datasketches.sampling.PreambleUtil.extractN;
+import static org.apache.datasketches.sampling.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.sampling.PreambleUtil.extractResizeFactor;
+import static org.apache.datasketches.sampling.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.sampling.SamplingUtil.pseudoHypergeometricLBonP;
+import static org.apache.datasketches.sampling.SamplingUtil.pseudoHypergeometricUBonP;
 
 import java.lang.reflect.Array;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.function.Predicate;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This sketch provides a reservoir sample over an input stream of items. The sketch contains a
diff --git a/src/main/java/com/yahoo/sketches/sampling/ReservoirItemsUnion.java b/src/main/java/org/apache/datasketches/sampling/ReservoirItemsUnion.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/sampling/ReservoirItemsUnion.java
rename to src/main/java/org/apache/datasketches/sampling/ReservoirItemsUnion.java
index 3684c25..28e0e4d 100644
--- a/src/main/java/com/yahoo/sketches/sampling/ReservoirItemsUnion.java
+++ b/src/main/java/org/apache/datasketches/sampling/ReservoirItemsUnion.java
@@ -17,26 +17,26 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.sampling.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.sampling.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractEncodedReservoirSize;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractMaxK;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractSerVer;
+package org.apache.datasketches.sampling;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.sampling.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.sampling.PreambleUtil.SER_VER;
+import static org.apache.datasketches.sampling.PreambleUtil.extractEncodedReservoirSize;
+import static org.apache.datasketches.sampling.PreambleUtil.extractFlags;
+import static org.apache.datasketches.sampling.PreambleUtil.extractMaxK;
+import static org.apache.datasketches.sampling.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.sampling.PreambleUtil.extractSerVer;
 
 import java.util.ArrayList;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Class to union reservoir samples of generic items.
diff --git a/src/main/java/com/yahoo/sketches/sampling/ReservoirLongsSketch.java b/src/main/java/org/apache/datasketches/sampling/ReservoirLongsSketch.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/sampling/ReservoirLongsSketch.java
rename to src/main/java/org/apache/datasketches/sampling/ReservoirLongsSketch.java
index b74c0a8..ee2ec59 100644
--- a/src/main/java/com/yahoo/sketches/sampling/ReservoirLongsSketch.java
+++ b/src/main/java/org/apache/datasketches/sampling/ReservoirLongsSketch.java
@@ -17,32 +17,32 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.sampling.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.sampling.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractEncodedReservoirSize;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractK;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractN;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractResizeFactor;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.sampling.SamplingUtil.pseudoHypergeometricLBonP;
-import static com.yahoo.sketches.sampling.SamplingUtil.pseudoHypergeometricUBonP;
+package org.apache.datasketches.sampling;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.sampling.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.sampling.PreambleUtil.SER_VER;
+import static org.apache.datasketches.sampling.PreambleUtil.extractEncodedReservoirSize;
+import static org.apache.datasketches.sampling.PreambleUtil.extractFlags;
+import static org.apache.datasketches.sampling.PreambleUtil.extractK;
+import static org.apache.datasketches.sampling.PreambleUtil.extractN;
+import static org.apache.datasketches.sampling.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.sampling.PreambleUtil.extractResizeFactor;
+import static org.apache.datasketches.sampling.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.sampling.SamplingUtil.pseudoHypergeometricLBonP;
+import static org.apache.datasketches.sampling.SamplingUtil.pseudoHypergeometricUBonP;
 
 import java.util.Arrays;
 import java.util.function.Predicate;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This sketch provides a reservoir sample over an input stream of <tt>long</tt>s. The sketch
diff --git a/src/main/java/com/yahoo/sketches/sampling/ReservoirLongsUnion.java b/src/main/java/org/apache/datasketches/sampling/ReservoirLongsUnion.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/sampling/ReservoirLongsUnion.java
rename to src/main/java/org/apache/datasketches/sampling/ReservoirLongsUnion.java
index 19b0733..891e9d2 100644
--- a/src/main/java/com/yahoo/sketches/sampling/ReservoirLongsUnion.java
+++ b/src/main/java/org/apache/datasketches/sampling/ReservoirLongsUnion.java
@@ -17,22 +17,22 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.sampling.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.sampling.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractEncodedReservoirSize;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractMaxK;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractSerVer;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+package org.apache.datasketches.sampling;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.sampling.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.sampling.PreambleUtil.SER_VER;
+import static org.apache.datasketches.sampling.PreambleUtil.extractEncodedReservoirSize;
+import static org.apache.datasketches.sampling.PreambleUtil.extractFlags;
+import static org.apache.datasketches.sampling.PreambleUtil.extractMaxK;
+import static org.apache.datasketches.sampling.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.sampling.PreambleUtil.extractSerVer;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Class to union reservoir samples of longs.
diff --git a/src/main/java/com/yahoo/sketches/sampling/ReservoirSize.java b/src/main/java/org/apache/datasketches/sampling/ReservoirSize.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/sampling/ReservoirSize.java
rename to src/main/java/org/apache/datasketches/sampling/ReservoirSize.java
index 4e87e0a..0d6112d 100644
--- a/src/main/java/com/yahoo/sketches/sampling/ReservoirSize.java
+++ b/src/main/java/org/apache/datasketches/sampling/ReservoirSize.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
+package org.apache.datasketches.sampling;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
 
 /**
  * This class provides a compact representation of reservoir size by encoding it into a
diff --git a/src/main/java/com/yahoo/sketches/sampling/SampleSubsetSummary.java b/src/main/java/org/apache/datasketches/sampling/SampleSubsetSummary.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/sampling/SampleSubsetSummary.java
rename to src/main/java/org/apache/datasketches/sampling/SampleSubsetSummary.java
index 05f3806..b7758b1 100644
--- a/src/main/java/com/yahoo/sketches/sampling/SampleSubsetSummary.java
+++ b/src/main/java/org/apache/datasketches/sampling/SampleSubsetSummary.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
+package org.apache.datasketches.sampling;
 
 /**
  * A simple object o capture the results of a subset sum query on a sampling sketch.
diff --git a/src/main/java/com/yahoo/sketches/sampling/SamplingUtil.java b/src/main/java/org/apache/datasketches/sampling/SamplingUtil.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/sampling/SamplingUtil.java
rename to src/main/java/org/apache/datasketches/sampling/SamplingUtil.java
index 11f7bca..e43cce7 100644
--- a/src/main/java/com/yahoo/sketches/sampling/SamplingUtil.java
+++ b/src/main/java/org/apache/datasketches/sampling/SamplingUtil.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
+package org.apache.datasketches.sampling;
 
-import static com.yahoo.sketches.BoundsOnBinomialProportions.approximateLowerBoundOnP;
-import static com.yahoo.sketches.BoundsOnBinomialProportions.approximateUpperBoundOnP;
+import static org.apache.datasketches.BoundsOnBinomialProportions.approximateLowerBoundOnP;
+import static org.apache.datasketches.BoundsOnBinomialProportions.approximateUpperBoundOnP;
 
 import java.util.Random;
 import java.util.concurrent.ThreadLocalRandom;
diff --git a/src/main/java/com/yahoo/sketches/sampling/VarOptItemsSamples.java b/src/main/java/org/apache/datasketches/sampling/VarOptItemsSamples.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/sampling/VarOptItemsSamples.java
rename to src/main/java/org/apache/datasketches/sampling/VarOptItemsSamples.java
index 44dbbda..5fd2663 100644
--- a/src/main/java/com/yahoo/sketches/sampling/VarOptItemsSamples.java
+++ b/src/main/java/org/apache/datasketches/sampling/VarOptItemsSamples.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
+package org.apache.datasketches.sampling;
 
 import java.util.ConcurrentModificationException;
 import java.util.Iterator;
diff --git a/src/main/java/com/yahoo/sketches/sampling/VarOptItemsSketch.java b/src/main/java/org/apache/datasketches/sampling/VarOptItemsSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/sampling/VarOptItemsSketch.java
rename to src/main/java/org/apache/datasketches/sampling/VarOptItemsSketch.java
index e7fc9ca..f9798ec 100644
--- a/src/main/java/com/yahoo/sketches/sampling/VarOptItemsSketch.java
+++ b/src/main/java/org/apache/datasketches/sampling/VarOptItemsSketch.java
@@ -17,25 +17,25 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.sampling.PreambleUtil.GADGET_FLAG_MASK;
-import static com.yahoo.sketches.sampling.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.sampling.PreambleUtil.TOTAL_WEIGHT_R_DOUBLE;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractHRegionItemCount;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractK;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractN;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractRRegionItemCount;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractResizeFactor;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractTotalRWeight;
-import static com.yahoo.sketches.sampling.PreambleUtil.getAndCheckPreLongs;
-import static com.yahoo.sketches.sampling.SamplingUtil.pseudoHypergeometricLBonP;
-import static com.yahoo.sketches.sampling.SamplingUtil.pseudoHypergeometricUBonP;
+package org.apache.datasketches.sampling;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.sampling.PreambleUtil.GADGET_FLAG_MASK;
+import static org.apache.datasketches.sampling.PreambleUtil.SER_VER;
+import static org.apache.datasketches.sampling.PreambleUtil.TOTAL_WEIGHT_R_DOUBLE;
+import static org.apache.datasketches.sampling.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.sampling.PreambleUtil.extractFlags;
+import static org.apache.datasketches.sampling.PreambleUtil.extractHRegionItemCount;
+import static org.apache.datasketches.sampling.PreambleUtil.extractK;
+import static org.apache.datasketches.sampling.PreambleUtil.extractN;
+import static org.apache.datasketches.sampling.PreambleUtil.extractRRegionItemCount;
+import static org.apache.datasketches.sampling.PreambleUtil.extractResizeFactor;
+import static org.apache.datasketches.sampling.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.sampling.PreambleUtil.extractTotalRWeight;
+import static org.apache.datasketches.sampling.PreambleUtil.getAndCheckPreLongs;
+import static org.apache.datasketches.sampling.SamplingUtil.pseudoHypergeometricLBonP;
+import static org.apache.datasketches.sampling.SamplingUtil.pseudoHypergeometricUBonP;
 
 import java.lang.reflect.Array;
 import java.util.ArrayList;
@@ -43,15 +43,15 @@ import java.util.Arrays;
 import java.util.List;
 import java.util.function.Predicate;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfBooleansSerDe;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.ArrayOfBooleansSerDe;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This sketch provides a variance optimal sample over an input stream of weighted items. The
diff --git a/src/main/java/com/yahoo/sketches/sampling/VarOptItemsUnion.java b/src/main/java/org/apache/datasketches/sampling/VarOptItemsUnion.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/sampling/VarOptItemsUnion.java
rename to src/main/java/org/apache/datasketches/sampling/VarOptItemsUnion.java
index 76df6f4..4c13abc 100644
--- a/src/main/java/com/yahoo/sketches/sampling/VarOptItemsUnion.java
+++ b/src/main/java/org/apache/datasketches/sampling/VarOptItemsUnion.java
@@ -17,29 +17,29 @@
  * under the License.
  */
 
-package com.yahoo.sketches.sampling;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.sampling.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.sampling.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractMaxK;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractN;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractOuterTauDenominator;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractOuterTauNumerator;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.sampling.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.sampling.VarOptItemsSketch.newInstanceFromUnionResult;
+package org.apache.datasketches.sampling;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.sampling.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.sampling.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.sampling.PreambleUtil.SER_VER;
+import static org.apache.datasketches.sampling.PreambleUtil.extractFlags;
+import static org.apache.datasketches.sampling.PreambleUtil.extractMaxK;
+import static org.apache.datasketches.sampling.PreambleUtil.extractN;
+import static org.apache.datasketches.sampling.PreambleUtil.extractOuterTauDenominator;
+import static org.apache.datasketches.sampling.PreambleUtil.extractOuterTauNumerator;
+import static org.apache.datasketches.sampling.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.sampling.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.sampling.VarOptItemsSketch.newInstanceFromUnionResult;
 
 import java.util.ArrayList;
 import java.util.Iterator;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Provides a unioning operation over varopt sketches. This union allows the sample size k to float,
diff --git a/src/main/java/com/yahoo/sketches/sampling/package-info.java b/src/main/java/org/apache/datasketches/sampling/package-info.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/sampling/package-info.java
rename to src/main/java/org/apache/datasketches/sampling/package-info.java
index a73ff99..2ecbad1 100644
--- a/src/main/java/com/yahoo/sketches/sampling/package-info.java
+++ b/src/main/java/org/apache/datasketches/sampling/package-info.java
@@ -24,4 +24,4 @@
  * <p>These sketches are mergeable and can be serialized and deserialized to/from a compact
  * form.</p>
  */
-package com.yahoo.sketches.sampling;
+package org.apache.datasketches.sampling;
diff --git a/src/main/java/com/yahoo/sketches/theta/AnotB.java b/src/main/java/org/apache/datasketches/theta/AnotB.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/theta/AnotB.java
rename to src/main/java/org/apache/datasketches/theta/AnotB.java
index f6f4669..ada10c0 100644
--- a/src/main/java/com/yahoo/sketches/theta/AnotB.java
+++ b/src/main/java/org/apache/datasketches/theta/AnotB.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The API for the set difference operation <i>A and not B</i> operations.
diff --git a/src/main/java/com/yahoo/sketches/theta/CompactSketch.java b/src/main/java/org/apache/datasketches/theta/CompactSketch.java
similarity index 85%
rename from src/main/java/com/yahoo/sketches/theta/CompactSketch.java
rename to src/main/java/org/apache/datasketches/theta/CompactSketch.java
index ae896e9..43c7504 100644
--- a/src/main/java/com/yahoo/sketches/theta/CompactSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/CompactSketch.java
@@ -17,24 +17,24 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.theta.PreambleUtil.insertCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.theta.PreambleUtil.insertP;
-import static com.yahoo.sketches.theta.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.theta.PreambleUtil.insertThetaLong;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER;
+import static org.apache.datasketches.theta.PreambleUtil.insertCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.insertFlags;
+import static org.apache.datasketches.theta.PreambleUtil.insertP;
+import static org.apache.datasketches.theta.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.theta.PreambleUtil.insertThetaLong;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The parent class of all the CompactSketches. CompactSketches are never created directly.
diff --git a/src/main/java/com/yahoo/sketches/theta/ConcurrentBackgroundThetaPropagation.java b/src/main/java/org/apache/datasketches/theta/ConcurrentBackgroundThetaPropagation.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/theta/ConcurrentBackgroundThetaPropagation.java
rename to src/main/java/org/apache/datasketches/theta/ConcurrentBackgroundThetaPropagation.java
index 0c39661..f9201a3 100644
--- a/src/main/java/com/yahoo/sketches/theta/ConcurrentBackgroundThetaPropagation.java
+++ b/src/main/java/org/apache/datasketches/theta/ConcurrentBackgroundThetaPropagation.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
 import java.util.concurrent.atomic.AtomicBoolean;
 
diff --git a/src/main/java/com/yahoo/sketches/theta/ConcurrentDirectQuickSelectSketch.java b/src/main/java/org/apache/datasketches/theta/ConcurrentDirectQuickSelectSketch.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/theta/ConcurrentDirectQuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/theta/ConcurrentDirectQuickSelectSketch.java
index 734621f..8a507ed 100644
--- a/src/main/java/com/yahoo/sketches/theta/ConcurrentDirectQuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/ConcurrentDirectQuickSelectSketch.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.theta.PreambleUtil.THETA_LONG;
+import static org.apache.datasketches.theta.PreambleUtil.THETA_LONG;
 
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ResizeFactor;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * A concurrent shared sketch that is based on DirectQuickSelectSketch.
diff --git a/src/main/java/com/yahoo/sketches/theta/ConcurrentHeapQuickSelectSketch.java b/src/main/java/org/apache/datasketches/theta/ConcurrentHeapQuickSelectSketch.java
similarity index 99%
rename from src/main/java/com/yahoo/sketches/theta/ConcurrentHeapQuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/theta/ConcurrentHeapQuickSelectSketch.java
index c128d93..bf76d59 100644
--- a/src/main/java/com/yahoo/sketches/theta/ConcurrentHeapQuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/ConcurrentHeapQuickSelectSketch.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 
-import com.yahoo.sketches.ResizeFactor;
+import org.apache.datasketches.ResizeFactor;
 
 /**
  * A concurrent shared sketch that is based on HeapQuickSelectSketch.
diff --git a/src/main/java/com/yahoo/sketches/theta/ConcurrentHeapThetaBuffer.java b/src/main/java/org/apache/datasketches/theta/ConcurrentHeapThetaBuffer.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/theta/ConcurrentHeapThetaBuffer.java
rename to src/main/java/org/apache/datasketches/theta/ConcurrentHeapThetaBuffer.java
index 90b3e84..f17e89b 100644
--- a/src/main/java/com/yahoo/sketches/theta/ConcurrentHeapThetaBuffer.java
+++ b/src/main/java/org/apache/datasketches/theta/ConcurrentHeapThetaBuffer.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.theta.UpdateReturnState.ConcurrentBufferInserted;
-import static com.yahoo.sketches.theta.UpdateReturnState.ConcurrentPropagated;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedOverTheta;
+import static org.apache.datasketches.theta.UpdateReturnState.ConcurrentBufferInserted;
+import static org.apache.datasketches.theta.UpdateReturnState.ConcurrentPropagated;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedOverTheta;
 
 import java.util.concurrent.atomic.AtomicBoolean;
 
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.ResizeFactor;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.ResizeFactor;
 
 /**
  * The theta filtering buffer that operates in the context of a single writing thread.
diff --git a/src/main/java/com/yahoo/sketches/theta/ConcurrentPropagationService.java b/src/main/java/org/apache/datasketches/theta/ConcurrentPropagationService.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/theta/ConcurrentPropagationService.java
rename to src/main/java/org/apache/datasketches/theta/ConcurrentPropagationService.java
index 5b6bff3..84d9f33 100644
--- a/src/main/java/com/yahoo/sketches/theta/ConcurrentPropagationService.java
+++ b/src/main/java/org/apache/datasketches/theta/ConcurrentPropagationService.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
diff --git a/src/main/java/com/yahoo/sketches/theta/ConcurrentSharedThetaSketch.java b/src/main/java/org/apache/datasketches/theta/ConcurrentSharedThetaSketch.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/theta/ConcurrentSharedThetaSketch.java
rename to src/main/java/org/apache/datasketches/theta/ConcurrentSharedThetaSketch.java
index da010bf..fc5a00a 100644
--- a/src/main/java/com/yahoo/sketches/theta/ConcurrentSharedThetaSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/ConcurrentSharedThetaSketch.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
 import java.util.concurrent.atomic.AtomicBoolean;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * An interface to define the API of a concurrent shared theta sketch.
diff --git a/src/main/java/com/yahoo/sketches/theta/DirectCompactOrderedSketch.java b/src/main/java/org/apache/datasketches/theta/DirectCompactOrderedSketch.java
similarity index 83%
rename from src/main/java/com/yahoo/sketches/theta/DirectCompactOrderedSketch.java
rename to src/main/java/org/apache/datasketches/theta/DirectCompactOrderedSketch.java
index 93f9e5f..b68bc08 100644
--- a/src/main/java/com/yahoo/sketches/theta/DirectCompactOrderedSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/DirectCompactOrderedSketch.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.Util.checkSeedHashes;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.SEED_HASH_SHORT;
+import static org.apache.datasketches.Util.checkSeedHashes;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.SEED_HASH_SHORT;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * An off-heap (Direct), compact, ordered, read-only sketch. This sketch may be associated
diff --git a/src/main/java/com/yahoo/sketches/theta/DirectCompactSketch.java b/src/main/java/org/apache/datasketches/theta/DirectCompactSketch.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/theta/DirectCompactSketch.java
rename to src/main/java/org/apache/datasketches/theta/DirectCompactSketch.java
index f07dacb..8a4b6bf 100644
--- a/src/main/java/com/yahoo/sketches/theta/DirectCompactSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/DirectCompactSketch.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Parent class of the Direct Compact Sketches.
diff --git a/src/main/java/com/yahoo/sketches/theta/DirectCompactUnorderedSketch.java b/src/main/java/org/apache/datasketches/theta/DirectCompactUnorderedSketch.java
similarity index 85%
rename from src/main/java/com/yahoo/sketches/theta/DirectCompactUnorderedSketch.java
rename to src/main/java/org/apache/datasketches/theta/DirectCompactUnorderedSketch.java
index c4e77a7..9ea6965 100644
--- a/src/main/java/com/yahoo/sketches/theta/DirectCompactUnorderedSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/DirectCompactUnorderedSketch.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.Util.checkSeedHashes;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.SEED_HASH_SHORT;
+import static org.apache.datasketches.Util.checkSeedHashes;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.SEED_HASH_SHORT;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * An off-heap (Direct), compact, unordered, read-only sketch.  This sketch can only be associated
diff --git a/src/main/java/com/yahoo/sketches/theta/DirectQuickSelectSketch.java b/src/main/java/org/apache/datasketches/theta/DirectQuickSelectSketch.java
similarity index 80%
rename from src/main/java/com/yahoo/sketches/theta/DirectQuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/theta/DirectQuickSelectSketch.java
index c03f843..713bd2b 100644
--- a/src/main/java/com/yahoo/sketches/theta/DirectQuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/DirectQuickSelectSketch.java
@@ -17,49 +17,49 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.MIN_LG_ARR_LONGS;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.P_FLOAT;
-import static com.yahoo.sketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.theta.PreambleUtil.THETA_LONG;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgNomLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgResizeFactor;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.getMemBytes;
-import static com.yahoo.sketches.theta.PreambleUtil.insertCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgNomLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgResizeFactor;
-import static com.yahoo.sketches.theta.PreambleUtil.insertP;
-import static com.yahoo.sketches.theta.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.theta.PreambleUtil.insertThetaLong;
-import static com.yahoo.sketches.theta.PreambleUtil.insertUnionThetaLong;
-import static com.yahoo.sketches.theta.Rebuilder.actLgResizeFactor;
-import static com.yahoo.sketches.theta.Rebuilder.moveAndResize;
-import static com.yahoo.sketches.theta.Rebuilder.quickSelectAndRebuild;
-import static com.yahoo.sketches.theta.Rebuilder.resize;
-import static com.yahoo.sketches.theta.UpdateReturnState.InsertedCountIncremented;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedDuplicate;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedOverTheta;
-
-import com.yahoo.memory.MemoryRequestServer;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.Util.MIN_LG_ARR_LONGS;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.P_FLOAT;
+import static org.apache.datasketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER;
+import static org.apache.datasketches.theta.PreambleUtil.THETA_LONG;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgNomLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgResizeFactor;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.getMemBytes;
+import static org.apache.datasketches.theta.PreambleUtil.insertCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.insertFlags;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgNomLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgResizeFactor;
+import static org.apache.datasketches.theta.PreambleUtil.insertP;
+import static org.apache.datasketches.theta.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.theta.PreambleUtil.insertThetaLong;
+import static org.apache.datasketches.theta.PreambleUtil.insertUnionThetaLong;
+import static org.apache.datasketches.theta.Rebuilder.actLgResizeFactor;
+import static org.apache.datasketches.theta.Rebuilder.moveAndResize;
+import static org.apache.datasketches.theta.Rebuilder.quickSelectAndRebuild;
+import static org.apache.datasketches.theta.Rebuilder.resize;
+import static org.apache.datasketches.theta.UpdateReturnState.InsertedCountIncremented;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedDuplicate;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedOverTheta;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.MemoryRequestServer;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The default Theta Sketch using the QuickSelect algorithm.
diff --git a/src/main/java/com/yahoo/sketches/theta/DirectQuickSelectSketchR.java b/src/main/java/org/apache/datasketches/theta/DirectQuickSelectSketchR.java
similarity index 87%
rename from src/main/java/com/yahoo/sketches/theta/DirectQuickSelectSketchR.java
rename to src/main/java/org/apache/datasketches/theta/DirectQuickSelectSketchR.java
index a3b2ac8..6dfc76b 100644
--- a/src/main/java/com/yahoo/sketches/theta/DirectQuickSelectSketchR.java
+++ b/src/main/java/org/apache/datasketches/theta/DirectQuickSelectSketchR.java
@@ -17,26 +17,26 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.theta.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.LG_NOM_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.LG_RESIZE_FACTOR_BIT;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.P_FLOAT;
-import static com.yahoo.sketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
-import static com.yahoo.sketches.theta.PreambleUtil.THETA_LONG;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgNomLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesReadOnlyException;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.theta.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.LG_NOM_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.LG_RESIZE_FACTOR_BIT;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.P_FLOAT;
+import static org.apache.datasketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
+import static org.apache.datasketches.theta.PreambleUtil.THETA_LONG;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgNomLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesReadOnlyException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The default Theta Sketch using the QuickSelect algorithm.
diff --git a/src/main/java/com/yahoo/sketches/theta/EmptyCompactSketch.java b/src/main/java/org/apache/datasketches/theta/EmptyCompactSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/theta/EmptyCompactSketch.java
rename to src/main/java/org/apache/datasketches/theta/EmptyCompactSketch.java
index bd4939a..7f3e6e0 100644
--- a/src/main/java/com/yahoo/sketches/theta/EmptyCompactSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/EmptyCompactSketch.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Singleton empty CompactSketch.
diff --git a/src/main/java/com/yahoo/sketches/theta/ForwardCompatibility.java b/src/main/java/org/apache/datasketches/theta/ForwardCompatibility.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/theta/ForwardCompatibility.java
rename to src/main/java/org/apache/datasketches/theta/ForwardCompatibility.java
index cdbdeb9..825e925 100644
--- a/src/main/java/com/yahoo/sketches/theta/ForwardCompatibility.java
+++ b/src/main/java/org/apache/datasketches/theta/ForwardCompatibility.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Used to convert older serialization versions 1 and 2 to version 3.  The Serialization
diff --git a/src/main/java/com/yahoo/sketches/theta/HashIterator.java b/src/main/java/org/apache/datasketches/theta/HashIterator.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/theta/HashIterator.java
rename to src/main/java/org/apache/datasketches/theta/HashIterator.java
index 3282858..d7dce41 100644
--- a/src/main/java/com/yahoo/sketches/theta/HashIterator.java
+++ b/src/main/java/org/apache/datasketches/theta/HashIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
 /**
  * This is used to iterate over the retained hash values of the Theta sketch.
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapAlphaSketch.java b/src/main/java/org/apache/datasketches/theta/HeapAlphaSketch.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/theta/HeapAlphaSketch.java
rename to src/main/java/org/apache/datasketches/theta/HeapAlphaSketch.java
index 00d47d2..77e800e 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapAlphaSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapAlphaSketch.java
@@ -17,36 +17,36 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.HashOperations.STRIDE_MASK;
-import static com.yahoo.sketches.Util.MIN_LG_ARR_LONGS;
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.Util.RESIZE_THRESHOLD;
-import static com.yahoo.sketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgNomLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgResizeFactor;
-import static com.yahoo.sketches.theta.PreambleUtil.extractP;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
-import static com.yahoo.sketches.theta.UpdateReturnState.InsertedCountIncremented;
-import static com.yahoo.sketches.theta.UpdateReturnState.InsertedCountNotIncremented;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedDuplicate;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedOverTheta;
+package org.apache.datasketches.theta;
+
 import static java.lang.Math.max;
 import static java.lang.Math.min;
 import static java.lang.Math.sqrt;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import static org.apache.datasketches.HashOperations.STRIDE_MASK;
+import static org.apache.datasketches.Util.MIN_LG_ARR_LONGS;
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.Util.RESIZE_THRESHOLD;
+import static org.apache.datasketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgNomLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgResizeFactor;
+import static org.apache.datasketches.theta.PreambleUtil.extractP;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.theta.UpdateReturnState.InsertedCountIncremented;
+import static org.apache.datasketches.theta.UpdateReturnState.InsertedCountNotIncremented;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedDuplicate;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedOverTheta;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This sketch uses the
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapAnotB.java b/src/main/java/org/apache/datasketches/theta/HeapAnotB.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/theta/HeapAnotB.java
rename to src/main/java/org/apache/datasketches/theta/HeapAnotB.java
index 9a84366..a316f37 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapAnotB.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapAnotB.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.HashOperations.hashArrayInsert;
-import static com.yahoo.sketches.HashOperations.hashSearch;
-import static com.yahoo.sketches.theta.CompactSketch.compactCache;
 import static java.lang.Math.min;
+import static org.apache.datasketches.HashOperations.hashArrayInsert;
+import static org.apache.datasketches.HashOperations.hashSearch;
+import static org.apache.datasketches.theta.CompactSketch.compactCache;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapCompactOrderedSketch.java b/src/main/java/org/apache/datasketches/theta/HeapCompactOrderedSketch.java
similarity index 87%
rename from src/main/java/com/yahoo/sketches/theta/HeapCompactOrderedSketch.java
rename to src/main/java/org/apache/datasketches/theta/HeapCompactOrderedSketch.java
index 59521c0..9b55833 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapCompactOrderedSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapCompactOrderedSketch.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.Util.checkSeedHashes;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.Util.checkSeedHashes;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * An on-heap, compact, ordered, read-only sketch.
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapCompactSketch.java b/src/main/java/org/apache/datasketches/theta/HeapCompactSketch.java
similarity index 88%
rename from src/main/java/com/yahoo/sketches/theta/HeapCompactSketch.java
rename to src/main/java/org/apache/datasketches/theta/HeapCompactSketch.java
index 59dcbf9..eb4831d 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapCompactSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapCompactSketch.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Parent class of the Heap Compact Sketches.
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapCompactUnorderedSketch.java b/src/main/java/org/apache/datasketches/theta/HeapCompactUnorderedSketch.java
similarity index 87%
rename from src/main/java/com/yahoo/sketches/theta/HeapCompactUnorderedSketch.java
rename to src/main/java/org/apache/datasketches/theta/HeapCompactUnorderedSketch.java
index c214d86..2c375bb 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapCompactUnorderedSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapCompactUnorderedSketch.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.Util.checkSeedHashes;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.Util.checkSeedHashes;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * An on-heap, compact, read-only sketch.
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapHashIterator.java b/src/main/java/org/apache/datasketches/theta/HeapHashIterator.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/theta/HeapHashIterator.java
rename to src/main/java/org/apache/datasketches/theta/HeapHashIterator.java
index 446731f..30b223a 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapHashIterator.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapHashIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapQuickSelectSketch.java b/src/main/java/org/apache/datasketches/theta/HeapQuickSelectSketch.java
similarity index 86%
rename from src/main/java/com/yahoo/sketches/theta/HeapQuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/theta/HeapQuickSelectSketch.java
index 9b83795..bff7d0b 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapQuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapQuickSelectSketch.java
@@ -17,33 +17,33 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.QuickSelect.selectExcludingZeros;
-import static com.yahoo.sketches.Util.MIN_LG_ARR_LONGS;
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.Util.RESIZE_THRESHOLD;
-import static com.yahoo.sketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgNomLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgResizeFactor;
-import static com.yahoo.sketches.theta.PreambleUtil.extractP;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
-import static com.yahoo.sketches.theta.UpdateReturnState.InsertedCountIncremented;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedDuplicate;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedOverTheta;
+package org.apache.datasketches.theta;
+
 import static java.lang.Math.max;
 import static java.lang.Math.min;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.Util;
+import static org.apache.datasketches.QuickSelect.selectExcludingZeros;
+import static org.apache.datasketches.Util.MIN_LG_ARR_LONGS;
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.Util.RESIZE_THRESHOLD;
+import static org.apache.datasketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgNomLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgResizeFactor;
+import static org.apache.datasketches.theta.PreambleUtil.extractP;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.theta.UpdateReturnState.InsertedCountIncremented;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedDuplicate;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedOverTheta;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/theta/HeapUpdateSketch.java b/src/main/java/org/apache/datasketches/theta/HeapUpdateSketch.java
similarity index 73%
rename from src/main/java/com/yahoo/sketches/theta/HeapUpdateSketch.java
rename to src/main/java/org/apache/datasketches/theta/HeapUpdateSketch.java
index c88ac3c..e83c8c6 100644
--- a/src/main/java/com/yahoo/sketches/theta/HeapUpdateSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/HeapUpdateSketch.java
@@ -17,26 +17,26 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.MIN_LG_NOM_LONGS;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.theta.PreambleUtil.insertCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgNomLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgResizeFactor;
-import static com.yahoo.sketches.theta.PreambleUtil.insertP;
-import static com.yahoo.sketches.theta.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.theta.PreambleUtil.insertThetaLong;
-
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.Util;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.Util.MIN_LG_NOM_LONGS;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER;
+import static org.apache.datasketches.theta.PreambleUtil.insertCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.insertFlags;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgNomLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgResizeFactor;
+import static org.apache.datasketches.theta.PreambleUtil.insertP;
+import static org.apache.datasketches.theta.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.theta.PreambleUtil.insertThetaLong;
+
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The parent class for Heap Updatable Theta Sketches.
diff --git a/src/main/java/com/yahoo/sketches/theta/Intersection.java b/src/main/java/org/apache/datasketches/theta/Intersection.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/theta/Intersection.java
rename to src/main/java/org/apache/datasketches/theta/Intersection.java
index 239fbd9..f2e8f03 100644
--- a/src/main/java/com/yahoo/sketches/theta/Intersection.java
+++ b/src/main/java/org/apache/datasketches/theta/Intersection.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The API for intersection operations
diff --git a/src/main/java/com/yahoo/sketches/theta/IntersectionImpl.java b/src/main/java/org/apache/datasketches/theta/IntersectionImpl.java
similarity index 88%
rename from src/main/java/com/yahoo/sketches/theta/IntersectionImpl.java
rename to src/main/java/org/apache/datasketches/theta/IntersectionImpl.java
index 43e1078..f8ab6cf 100644
--- a/src/main/java/com/yahoo/sketches/theta/IntersectionImpl.java
+++ b/src/main/java/org/apache/datasketches/theta/IntersectionImpl.java
@@ -17,37 +17,37 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.MIN_LG_ARR_LONGS;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.THETA_LONG;
-import static com.yahoo.sketches.theta.PreambleUtil.clearEmpty;
-import static com.yahoo.sketches.theta.PreambleUtil.insertCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.insertFlags;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertP;
-import static com.yahoo.sketches.theta.PreambleUtil.insertPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertSerVer;
-import static com.yahoo.sketches.theta.PreambleUtil.insertThetaLong;
+package org.apache.datasketches.theta;
+
 import static java.lang.Math.min;
+import static org.apache.datasketches.Util.MIN_LG_ARR_LONGS;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.THETA_LONG;
+import static org.apache.datasketches.theta.PreambleUtil.clearEmpty;
+import static org.apache.datasketches.theta.PreambleUtil.insertCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.insertFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.insertFlags;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertP;
+import static org.apache.datasketches.theta.PreambleUtil.insertPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertSerVer;
+import static org.apache.datasketches.theta.PreambleUtil.insertThetaLong;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 final class IntersectionImpl extends IntersectionImplR {
 
diff --git a/src/main/java/com/yahoo/sketches/theta/IntersectionImplR.java b/src/main/java/org/apache/datasketches/theta/IntersectionImplR.java
similarity index 86%
rename from src/main/java/com/yahoo/sketches/theta/IntersectionImplR.java
rename to src/main/java/org/apache/datasketches/theta/IntersectionImplR.java
index 84ac480..c05a05f 100644
--- a/src/main/java/com/yahoo/sketches/theta/IntersectionImplR.java
+++ b/src/main/java/org/apache/datasketches/theta/IntersectionImplR.java
@@ -17,31 +17,31 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.MIN_LG_ARR_LONGS;
-import static com.yahoo.sketches.Util.floorPowerOf2;
-import static com.yahoo.sketches.theta.CompactSketch.compactCachePart;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.LG_NOM_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.P_FLOAT;
-import static com.yahoo.sketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
-import static com.yahoo.sketches.theta.PreambleUtil.SEED_HASH_SHORT;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.THETA_LONG;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesReadOnlyException;
-import com.yahoo.sketches.SketchesStateException;
-import com.yahoo.sketches.Util;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.Util.MIN_LG_ARR_LONGS;
+import static org.apache.datasketches.Util.floorPowerOf2;
+import static org.apache.datasketches.theta.CompactSketch.compactCachePart;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.LG_NOM_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.P_FLOAT;
+import static org.apache.datasketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
+import static org.apache.datasketches.theta.PreambleUtil.SEED_HASH_SHORT;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.THETA_LONG;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesReadOnlyException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Intersection operation for Theta Sketches.
diff --git a/src/main/java/com/yahoo/sketches/theta/JaccardSimilarity.java b/src/main/java/org/apache/datasketches/theta/JaccardSimilarity.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/theta/JaccardSimilarity.java
rename to src/main/java/org/apache/datasketches/theta/JaccardSimilarity.java
index 3bb4982..ce93ab3 100644
--- a/src/main/java/com/yahoo/sketches/theta/JaccardSimilarity.java
+++ b/src/main/java/org/apache/datasketches/theta/JaccardSimilarity.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.BoundsOnRatiosInThetaSketchedSets.getEstimateOfBoverA;
-import static com.yahoo.sketches.BoundsOnRatiosInThetaSketchedSets.getLowerBoundForBoverA;
-import static com.yahoo.sketches.BoundsOnRatiosInThetaSketchedSets.getUpperBoundForBoverA;
-import static com.yahoo.sketches.Util.MAX_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.MIN_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
+package org.apache.datasketches.theta;
+
 import static java.lang.Math.max;
 import static java.lang.Math.min;
+import static org.apache.datasketches.BoundsOnRatiosInThetaSketchedSets.getEstimateOfBoverA;
+import static org.apache.datasketches.BoundsOnRatiosInThetaSketchedSets.getLowerBoundForBoverA;
+import static org.apache.datasketches.BoundsOnRatiosInThetaSketchedSets.getUpperBoundForBoverA;
+import static org.apache.datasketches.Util.MAX_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.MIN_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
 
 /**
  * Jaccard similarity of two Theta Sketches.
diff --git a/src/main/java/com/yahoo/sketches/theta/MemoryHashIterator.java b/src/main/java/org/apache/datasketches/theta/MemoryHashIterator.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/theta/MemoryHashIterator.java
rename to src/main/java/org/apache/datasketches/theta/MemoryHashIterator.java
index bbd5544..926d0ad 100644
--- a/src/main/java/com/yahoo/sketches/theta/MemoryHashIterator.java
+++ b/src/main/java/org/apache/datasketches/theta/MemoryHashIterator.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/theta/PairwiseSetOperations.java b/src/main/java/org/apache/datasketches/theta/PairwiseSetOperations.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/theta/PairwiseSetOperations.java
rename to src/main/java/org/apache/datasketches/theta/PairwiseSetOperations.java
index 7480ece..4ff61ab 100644
--- a/src/main/java/com/yahoo/sketches/theta/PairwiseSetOperations.java
+++ b/src/main/java/org/apache/datasketches/theta/PairwiseSetOperations.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.theta.SetOperation.createCompactSketch;
+import static org.apache.datasketches.theta.SetOperation.createCompactSketch;
 
 import java.util.Arrays;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
 
 /**
  * Set Operations where the arguments are presented in pairs as in <i>C = Op(A,B)</i>. These are
diff --git a/src/main/java/com/yahoo/sketches/theta/PreambleUtil.java b/src/main/java/org/apache/datasketches/theta/PreambleUtil.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/theta/PreambleUtil.java
rename to src/main/java/org/apache/datasketches/theta/PreambleUtil.java
index c494b76..7fd6210 100644
--- a/src/main/java/com/yahoo/sketches/theta/PreambleUtil.java
+++ b/src/main/java/org/apache/datasketches/theta/PreambleUtil.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.zeroPad;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.zeroPad;
 
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 //@formatter:off
 
diff --git a/src/main/java/com/yahoo/sketches/theta/Rebuilder.java b/src/main/java/org/apache/datasketches/theta/Rebuilder.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/theta/Rebuilder.java
rename to src/main/java/org/apache/datasketches/theta/Rebuilder.java
index b5ae2a9..4bc85ae 100644
--- a/src/main/java/com/yahoo/sketches/theta/Rebuilder.java
+++ b/src/main/java/org/apache/datasketches/theta/Rebuilder.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.QuickSelect.selectExcludingZeros;
-import static com.yahoo.sketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
-import static com.yahoo.sketches.theta.PreambleUtil.insertCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.insertLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.insertThetaLong;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.Util;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.QuickSelect.selectExcludingZeros;
+import static org.apache.datasketches.theta.PreambleUtil.LG_ARR_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.theta.PreambleUtil.insertCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.insertLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.insertThetaLong;
+
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Handles common resize, rebuild and move operations.
diff --git a/src/main/java/com/yahoo/sketches/theta/SetOperation.java b/src/main/java/org/apache/datasketches/theta/SetOperation.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/theta/SetOperation.java
rename to src/main/java/org/apache/datasketches/theta/SetOperation.java
index feef95a..22b4434 100644
--- a/src/main/java/com/yahoo/sketches/theta/SetOperation.java
+++ b/src/main/java/org/apache/datasketches/theta/SetOperation.java
@@ -17,24 +17,24 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.Family.idToFamily;
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.MIN_LG_ARR_LONGS;
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.theta.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.theta.Sketch.emptyFromCountAndTheta;
-import static com.yahoo.sketches.theta.Sketch.thetaOnCompact;
 import static java.lang.Math.max;
+import static org.apache.datasketches.Family.idToFamily;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.MIN_LG_ARR_LONGS;
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.theta.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.theta.Sketch.emptyFromCountAndTheta;
+import static org.apache.datasketches.theta.Sketch.thetaOnCompact;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The parent API for all Set Operations
diff --git a/src/main/java/com/yahoo/sketches/theta/SetOperationBuilder.java b/src/main/java/org/apache/datasketches/theta/SetOperationBuilder.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/theta/SetOperationBuilder.java
rename to src/main/java/org/apache/datasketches/theta/SetOperationBuilder.java
index 6204e60..c4f074f 100644
--- a/src/main/java/com/yahoo/sketches/theta/SetOperationBuilder.java
+++ b/src/main/java/org/apache/datasketches/theta/SetOperationBuilder.java
@@ -17,22 +17,22 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import static com.yahoo.sketches.Util.DEFAULT_NOMINAL_ENTRIES;
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.MAX_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.MIN_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.TAB;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.DEFAULT_NOMINAL_ENTRIES;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.MAX_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.MIN_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.TAB;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
 
-import com.yahoo.memory.DefaultMemoryRequestServer;
-import com.yahoo.memory.MemoryRequestServer;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.DefaultMemoryRequestServer;
+import org.apache.datasketches.memory.MemoryRequestServer;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * For building a new SetOperation.
@@ -49,8 +49,8 @@ public class SetOperationBuilder {
   /**
    * Constructor for building a new SetOperation.  The default configuration is
    * <ul>
-   * <li>Nominal Entries: {@value com.yahoo.sketches.Util#DEFAULT_NOMINAL_ENTRIES}</li>
-   * <li>Seed: {@value com.yahoo.sketches.Util#DEFAULT_UPDATE_SEED}</li>
+   * <li>Nominal Entries: {@value org.apache.datasketches.Util#DEFAULT_NOMINAL_ENTRIES}</li>
+   * <li>Seed: {@value org.apache.datasketches.Util#DEFAULT_UPDATE_SEED}</li>
    * <li>{@link ResizeFactor#X8}</li>
    * <li>Input Sampling Probability: 1.0</li>
    * <li>Memory: null</li>
diff --git a/src/main/java/com/yahoo/sketches/theta/SingleItemSketch.java b/src/main/java/org/apache/datasketches/theta/SingleItemSketch.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/theta/SingleItemSketch.java
rename to src/main/java/org/apache/datasketches/theta/SingleItemSketch.java
index 50f3665..ef08498 100644
--- a/src/main/java/com/yahoo/sketches/theta/SingleItemSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/SingleItemSketch.java
@@ -17,19 +17,19 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.checkSeedHashes;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
-import static com.yahoo.sketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
-import static com.yahoo.sketches.theta.PreambleUtil.SINGLEITEM_FLAG_MASK;
-import static java.nio.charset.StandardCharsets.UTF_8;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import static java.nio.charset.StandardCharsets.UTF_8;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.checkSeedHashes;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
+import static org.apache.datasketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
+import static org.apache.datasketches.theta.PreambleUtil.SINGLEITEM_FLAG_MASK;
+
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/theta/Sketch.java b/src/main/java/org/apache/datasketches/theta/Sketch.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/theta/Sketch.java
rename to src/main/java/org/apache/datasketches/theta/Sketch.java
index 36c185a..a1188ca 100644
--- a/src/main/java/com/yahoo/sketches/theta/Sketch.java
+++ b/src/main/java/org/apache/datasketches/theta/Sketch.java
@@ -17,31 +17,31 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Family.idToFamily;
-import static com.yahoo.sketches.HashOperations.count;
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.Util.zeroPad;
-import static com.yahoo.sketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
-import static com.yahoo.sketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSeedHash;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.BinomialBoundsN;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.Family.idToFamily;
+import static org.apache.datasketches.HashOperations.count;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.Util.zeroPad;
+import static org.apache.datasketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
+import static org.apache.datasketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.extractSeedHash;
+
+import org.apache.datasketches.BinomialBoundsN;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The top-level class for all sketches. This class is never constructed directly.
diff --git a/src/main/java/com/yahoo/sketches/theta/Sketches.java b/src/main/java/org/apache/datasketches/theta/Sketches.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/theta/Sketches.java
rename to src/main/java/org/apache/datasketches/theta/Sketches.java
index 457b611..4f5ebe5 100644
--- a/src/main/java/com/yahoo/sketches/theta/Sketches.java
+++ b/src/main/java/org/apache/datasketches/theta/Sketches.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.THETA_LONG;
-
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.theta.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.RETAINED_ENTRIES_INT;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.THETA_LONG;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * This class brings together the common sketch and set operation creation methods and
diff --git a/src/main/java/com/yahoo/sketches/theta/Union.java b/src/main/java/org/apache/datasketches/theta/Union.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/theta/Union.java
rename to src/main/java/org/apache/datasketches/theta/Union.java
index 5900c4f..b903c61 100644
--- a/src/main/java/com/yahoo/sketches/theta/Union.java
+++ b/src/main/java/org/apache/datasketches/theta/Union.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The API for Union operations
diff --git a/src/main/java/com/yahoo/sketches/theta/UnionImpl.java b/src/main/java/org/apache/datasketches/theta/UnionImpl.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/theta/UnionImpl.java
rename to src/main/java/org/apache/datasketches/theta/UnionImpl.java
index 0c84aa7..7cf48d9 100644
--- a/src/main/java/com/yahoo/sketches/theta/UnionImpl.java
+++ b/src/main/java/org/apache/datasketches/theta/UnionImpl.java
@@ -17,36 +17,36 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.QuickSelect.selectExcludingZeros;
-import static com.yahoo.sketches.theta.CompactSketch.compactCache;
-import static com.yahoo.sketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.THETA_LONG;
-import static com.yahoo.sketches.theta.PreambleUtil.UNION_THETA_LONG;
-import static com.yahoo.sketches.theta.PreambleUtil.clearEmpty;
-import static com.yahoo.sketches.theta.PreambleUtil.extractCurCount;
-import static com.yahoo.sketches.theta.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.theta.PreambleUtil.extractLgArrLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractPreLongs;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
-import static com.yahoo.sketches.theta.PreambleUtil.extractUnionThetaLong;
-import static com.yahoo.sketches.theta.PreambleUtil.insertUnionThetaLong;
-import static java.lang.Math.min;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.MemoryRequestServer;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import static java.lang.Math.min;
+import static org.apache.datasketches.QuickSelect.selectExcludingZeros;
+import static org.apache.datasketches.theta.CompactSketch.compactCache;
+import static org.apache.datasketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.THETA_LONG;
+import static org.apache.datasketches.theta.PreambleUtil.UNION_THETA_LONG;
+import static org.apache.datasketches.theta.PreambleUtil.clearEmpty;
+import static org.apache.datasketches.theta.PreambleUtil.extractCurCount;
+import static org.apache.datasketches.theta.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.extractFlags;
+import static org.apache.datasketches.theta.PreambleUtil.extractLgArrLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractPreLongs;
+import static org.apache.datasketches.theta.PreambleUtil.extractSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.theta.PreambleUtil.extractUnionThetaLong;
+import static org.apache.datasketches.theta.PreambleUtil.insertUnionThetaLong;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.MemoryRequestServer;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Shared code for the HeapUnion and DirectUnion implementations.
diff --git a/src/main/java/com/yahoo/sketches/theta/UpdateReturnState.java b/src/main/java/org/apache/datasketches/theta/UpdateReturnState.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/theta/UpdateReturnState.java
rename to src/main/java/org/apache/datasketches/theta/UpdateReturnState.java
index 96e8b93..df95c9d 100644
--- a/src/main/java/com/yahoo/sketches/theta/UpdateReturnState.java
+++ b/src/main/java/org/apache/datasketches/theta/UpdateReturnState.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
 
 /**
  * <a href="{@docRoot}/resources/dictionary.html#updateReturnState">See Update Return State</a>
diff --git a/src/main/java/com/yahoo/sketches/theta/UpdateSketch.java b/src/main/java/org/apache/datasketches/theta/UpdateSketch.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/theta/UpdateSketch.java
rename to src/main/java/org/apache/datasketches/theta/UpdateSketch.java
index 23c93be..308fee5 100644
--- a/src/main/java/com/yahoo/sketches/theta/UpdateSketch.java
+++ b/src/main/java/org/apache/datasketches/theta/UpdateSketch.java
@@ -17,38 +17,38 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.MIN_LG_NOM_LONGS;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
-import static com.yahoo.sketches.theta.CompactSketch.compactCache;
-import static com.yahoo.sketches.theta.CompactSketch.loadCompactMemory;
-import static com.yahoo.sketches.theta.PreambleUtil.BIG_ENDIAN_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
-import static com.yahoo.sketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.theta.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.theta.PreambleUtil.extractFamilyID;
-import static com.yahoo.sketches.theta.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.theta.PreambleUtil.extractP;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSeedHash;
-import static com.yahoo.sketches.theta.PreambleUtil.extractSerVer;
-import static com.yahoo.sketches.theta.PreambleUtil.extractThetaLong;
-import static com.yahoo.sketches.theta.PreambleUtil.getMemBytes;
-import static com.yahoo.sketches.theta.UpdateReturnState.RejectedNullOrEmpty;
-import static java.nio.charset.StandardCharsets.UTF_8;
+package org.apache.datasketches.theta;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import static java.nio.charset.StandardCharsets.UTF_8;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.MIN_LG_NOM_LONGS;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
+import static org.apache.datasketches.theta.CompactSketch.compactCache;
+import static org.apache.datasketches.theta.CompactSketch.loadCompactMemory;
+import static org.apache.datasketches.theta.PreambleUtil.BIG_ENDIAN_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.COMPACT_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.MAX_THETA_LONG_AS_DOUBLE;
+import static org.apache.datasketches.theta.PreambleUtil.ORDERED_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.READ_ONLY_FLAG_MASK;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER;
+import static org.apache.datasketches.theta.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.theta.PreambleUtil.extractFamilyID;
+import static org.apache.datasketches.theta.PreambleUtil.extractFlags;
+import static org.apache.datasketches.theta.PreambleUtil.extractP;
+import static org.apache.datasketches.theta.PreambleUtil.extractSeedHash;
+import static org.apache.datasketches.theta.PreambleUtil.extractSerVer;
+import static org.apache.datasketches.theta.PreambleUtil.extractThetaLong;
+import static org.apache.datasketches.theta.PreambleUtil.getMemBytes;
+import static org.apache.datasketches.theta.UpdateReturnState.RejectedNullOrEmpty;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The parent class for the  Update Sketch families, such as QuickSelect and Alpha.
diff --git a/src/main/java/com/yahoo/sketches/theta/UpdateSketchBuilder.java b/src/main/java/org/apache/datasketches/theta/UpdateSketchBuilder.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/theta/UpdateSketchBuilder.java
rename to src/main/java/org/apache/datasketches/theta/UpdateSketchBuilder.java
index 094f61c..99b2902 100644
--- a/src/main/java/com/yahoo/sketches/theta/UpdateSketchBuilder.java
+++ b/src/main/java/org/apache/datasketches/theta/UpdateSketchBuilder.java
@@ -17,23 +17,23 @@
  * under the License.
  */
 
-package com.yahoo.sketches.theta;
-
-import static com.yahoo.sketches.Util.DEFAULT_NOMINAL_ENTRIES;
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.Util.MAX_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.MIN_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.TAB;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-
-import com.yahoo.memory.DefaultMemoryRequestServer;
-import com.yahoo.memory.MemoryRequestServer;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+package org.apache.datasketches.theta;
+
+import static org.apache.datasketches.Util.DEFAULT_NOMINAL_ENTRIES;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.Util.MAX_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.MIN_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.TAB;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+
+import org.apache.datasketches.Family;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.DefaultMemoryRequestServer;
+import org.apache.datasketches.memory.MemoryRequestServer;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * For building a new UpdateSketch.
@@ -58,14 +58,15 @@ public class UpdateSketchBuilder {
   /**
    * Constructor for building a new UpdateSketch. The default configuration is
    * <ul>
-   * <li>Nominal Entries: {@value com.yahoo.sketches.Util#DEFAULT_NOMINAL_ENTRIES}</li>
-   * <li>Seed: {@value com.yahoo.sketches.Util#DEFAULT_UPDATE_SEED}</li>
+   * <li>Nominal Entries: {@value org.apache.datasketches.Util#DEFAULT_NOMINAL_ENTRIES}</li>
+   * <li>Seed: {@value org.apache.datasketches.Util#DEFAULT_UPDATE_SEED}</li>
    * <li>Input Sampling Probability: 1.0</li>
-   * <li>Family: {@link com.yahoo.sketches.Family#QUICKSELECT}</li>
+   * <li>Family: {@link org.apache.datasketches.Family#QUICKSELECT}</li>
    * <li>Resize Factor: The default for sketches on the Java heap is {@link ResizeFactor#X8}.
    * For direct sketches, which are targeted for native memory off the Java heap, this value will
    * be fixed at either {@link ResizeFactor#X1} or {@link ResizeFactor#X2}.</li>
-   * <li>MemoryRequestServer (Direct only): {@link com.yahoo.memory.DefaultMemoryRequestServer}.</li>
+   * <li>MemoryRequestServer (Direct only):
+   * {@link org.apache.datasketches.memory.DefaultMemoryRequestServer}.</li>
    * </ul>
    * Parameters unique to the concurrent sketches only:
    * <ul>
diff --git a/src/main/java/com/yahoo/sketches/theta/package-info.java b/src/main/java/org/apache/datasketches/theta/package-info.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/theta/package-info.java
rename to src/main/java/org/apache/datasketches/theta/package-info.java
index 3b9ae45..12c886f 100644
--- a/src/main/java/com/yahoo/sketches/theta/package-info.java
+++ b/src/main/java/org/apache/datasketches/theta/package-info.java
@@ -61,4 +61,4 @@
  *
  * @author Lee Rhodes
  */
-package com.yahoo.sketches.theta;
+package org.apache.datasketches.theta;
diff --git a/src/main/java/com/yahoo/sketches/tuple/AnotB.java b/src/main/java/org/apache/datasketches/tuple/AnotB.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/tuple/AnotB.java
rename to src/main/java/org/apache/datasketches/tuple/AnotB.java
index af1f253..c3db651 100644
--- a/src/main/java/com/yahoo/sketches/tuple/AnotB.java
+++ b/src/main/java/org/apache/datasketches/tuple/AnotB.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.MIN_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.MIN_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
 
 import java.lang.reflect.Array;
 import java.util.Arrays;
 
-import com.yahoo.sketches.HashOperations;
+import org.apache.datasketches.HashOperations;
 
 /**
  * Computes a set difference of two generic tuple sketches
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesAnotB.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesAnotB.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesAnotB.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesAnotB.java
index 925d990..8a469ca 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesAnotB.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesAnotB.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Computes a set difference of two tuple sketches of type ArrayOfDoubles
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesCombiner.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesCombiner.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesCombiner.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesCombiner.java
index 6f8942b..ee5d0c5 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesCombiner.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesCombiner.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Combines two arrays of double values for use with ArrayOfDoubles tuple sketches
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesCompactSketch.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesCompactSketch.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesCompactSketch.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesCompactSketch.java
index 9706527..a127801 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesCompactSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesCompactSketch.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Top level compact tuple sketch of type ArrayOfDoubles. Compact sketches are never created 
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesIntersection.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesIntersection.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesIntersection.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesIntersection.java
index c15202b..ae3deea 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesIntersection.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesIntersection.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 import static java.lang.Math.min;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Computes the intersection of two or more tuple sketches of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesQuickSelectSketch.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesQuickSelectSketch.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesQuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesQuickSelectSketch.java
index fe31117..dd5f6f1 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesQuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesQuickSelectSketch.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.Util.RESIZE_THRESHOLD;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.Util.RESIZE_THRESHOLD;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.QuickSelect;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.QuickSelect;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Top level class for hash table based implementations of tuple sketch of type
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSetOperationBuilder.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSetOperationBuilder.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSetOperationBuilder.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSetOperationBuilder.java
index 20d2e21..196bea9 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSetOperationBuilder.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSetOperationBuilder.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Builds set operations object for tuple sketches of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketch.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketch.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketch.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketch.java
index 1f09230..5f427fd 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketch.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.LS;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.LS;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.BinomialBoundsN;
+import org.apache.datasketches.BinomialBoundsN;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * The base class for the tuple sketch of type ArrayOfDoubles, where an array of double values
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketchIterator.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketchIterator.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketchIterator.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketchIterator.java
index 7a6f98a..16d6791 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketchIterator.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketchIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Interface for iterating over tuple sketches of type ArrayOfDoubles
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketches.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketches.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketches.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketches.java
index 169a4ee..9ec6be3 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesSketches.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesSketches.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Convenient static methods to instantiate tuple sketches of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUnion.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUnion.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUnion.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUnion.java
index 929511d..4a06faa 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUnion.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUnion.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The base class for unions of tuple sketches of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketch.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUpdatableSketch.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketch.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUpdatableSketch.java
index 712e390..f2b16f2 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUpdatableSketch.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.hash.MurmurHash3;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The top level for updatable tuple sketches of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.java b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.java
rename to src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.java
index 5f0deaf..6608d74 100644
--- a/src/main/java/com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.java
+++ b/src/main/java/org/apache/datasketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_NOMINAL_ENTRIES;
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_NOMINAL_ENTRIES;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * For building a new ArrayOfDoublesUpdatableSketch
diff --git a/src/main/java/com/yahoo/sketches/tuple/CompactSketch.java b/src/main/java/org/apache/datasketches/tuple/CompactSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/CompactSketch.java
rename to src/main/java/org/apache/datasketches/tuple/CompactSketch.java
index 20fdbd2..e7a4a92 100644
--- a/src/main/java/com/yahoo/sketches/tuple/CompactSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/CompactSketch.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 import java.lang.reflect.Array;
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.ByteArrayUtil;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ByteArrayUtil;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * CompactSketches are never created directly. They are created as a result of
diff --git a/src/main/java/com/yahoo/sketches/tuple/DeserializeResult.java b/src/main/java/org/apache/datasketches/tuple/DeserializeResult.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/tuple/DeserializeResult.java
rename to src/main/java/org/apache/datasketches/tuple/DeserializeResult.java
index 3315f59..21adb45 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DeserializeResult.java
+++ b/src/main/java/org/apache/datasketches/tuple/DeserializeResult.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Returns an object and its size in bytes as a result of a deserialize operation
diff --git a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesCompactSketch.java b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesCompactSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesCompactSketch.java
rename to src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesCompactSketch.java
index 9e014b4..0733dcc 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesCompactSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesCompactSketch.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Direct Compact Sketch of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesIntersection.java b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesIntersection.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesIntersection.java
rename to src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesIntersection.java
index d72d44d..ae3e45c 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesIntersection.java
+++ b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesIntersection.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Direct Intersection operation for tuple sketches of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesQuickSelectSketch.java b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesQuickSelectSketch.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesQuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesQuickSelectSketch.java
index 7f5a8de..92698a1 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesQuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesQuickSelectSketch.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 import java.nio.ByteOrder;
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Direct QuickSelect tuple sketch of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesQuickSelectSketchR.java b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesQuickSelectSketchR.java
similarity index 86%
rename from src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesQuickSelectSketchR.java
rename to src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesQuickSelectSketchR.java
index 76df8c4..b396e28 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesQuickSelectSketchR.java
+++ b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesQuickSelectSketchR.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesReadOnlyException;
+import org.apache.datasketches.SketchesReadOnlyException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 final class DirectArrayOfDoublesQuickSelectSketchR extends DirectArrayOfDoublesQuickSelectSketch {
 
diff --git a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesSketchIterator.java b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesSketchIterator.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesSketchIterator.java
rename to src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesSketchIterator.java
index e2ca648..ac64257 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesSketchIterator.java
+++ b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesSketchIterator.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Iterator over the off-heap, Direct tuple sketch of type ArrayOfDoubles (compact or hash table).
diff --git a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesUnion.java b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesUnion.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesUnion.java
rename to src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesUnion.java
index 0b52954..c458c3b 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesUnion.java
+++ b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesUnion.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * Direct Union operation for tuple sketches of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesUnionR.java b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesUnionR.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesUnionR.java
rename to src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesUnionR.java
index a11e218..c38a9bb 100644
--- a/src/main/java/com/yahoo/sketches/tuple/DirectArrayOfDoublesUnionR.java
+++ b/src/main/java/org/apache/datasketches/tuple/DirectArrayOfDoublesUnionR.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesReadOnlyException;
+import org.apache.datasketches.SketchesReadOnlyException;
+import org.apache.datasketches.memory.WritableMemory;
 
 final class DirectArrayOfDoublesUnionR extends DirectArrayOfDoublesUnion {
 
diff --git a/src/main/java/com/yahoo/sketches/tuple/Filter.java b/src/main/java/org/apache/datasketches/tuple/Filter.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/Filter.java
rename to src/main/java/org/apache/datasketches/tuple/Filter.java
index 89a1859..db975ae 100644
--- a/src/main/java/com/yahoo/sketches/tuple/Filter.java
+++ b/src/main/java/org/apache/datasketches/tuple/Filter.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 import java.util.function.Predicate;
 
-import com.yahoo.sketches.ResizeFactor;
+import org.apache.datasketches.ResizeFactor;
 
 /**
  * Class for filtering entries from a {@link Sketch} given a {@link Summary}
diff --git a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesAnotB.java b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesAnotB.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesAnotB.java
rename to src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesAnotB.java
index 1d8d00d..1defe46 100644
--- a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesAnotB.java
+++ b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesAnotB.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.MIN_LG_NOM_LONGS;
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.MIN_LG_NOM_LONGS;
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
 
 import java.util.Arrays;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.HashOperations;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The on-heap implementation of the set difference operation <i>A and not B</i> for
diff --git a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesCompactSketch.java b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesCompactSketch.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesCompactSketch.java
rename to src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesCompactSketch.java
index 87b535a..7c0d6a2 100644
--- a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesCompactSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesCompactSketch.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
 import java.nio.ByteOrder;
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The on-heap implementation of tuple Compact Sketch of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesIntersection.java b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesIntersection.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesIntersection.java
rename to src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesIntersection.java
index 56eb9fc..b866e65 100644
--- a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesIntersection.java
+++ b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesIntersection.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * On-heap implementation of intersection set operation for tuple sketches of type
diff --git a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesQuickSelectSketch.java b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesQuickSelectSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesQuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesQuickSelectSketch.java
index 640e43c..082d8d7 100644
--- a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesQuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesQuickSelectSketch.java
@@ -17,19 +17,19 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
 
 import java.nio.ByteOrder;
 import java.util.Arrays;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * The on-heap implementation of the tuple QuickSelect sketch of type ArrayOfDoubles.
diff --git a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesSketchIterator.java b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesSketchIterator.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesSketchIterator.java
rename to src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesSketchIterator.java
index 09b38ab..dc770e0 100644
--- a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesSketchIterator.java
+++ b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesSketchIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 import java.util.Arrays;
 
diff --git a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesUnion.java b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesUnion.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesUnion.java
rename to src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesUnion.java
index 590eaba..133f42f 100644
--- a/src/main/java/com/yahoo/sketches/tuple/HeapArrayOfDoublesUnion.java
+++ b/src/main/java/org/apache/datasketches/tuple/HeapArrayOfDoublesUnion.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * The on-heap implementation of the Union set operation for tuple sketches of type
diff --git a/src/main/java/com/yahoo/sketches/tuple/Intersection.java b/src/main/java/org/apache/datasketches/tuple/Intersection.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/Intersection.java
rename to src/main/java/org/apache/datasketches/tuple/Intersection.java
index e9cef37..826d241 100644
--- a/src/main/java/com/yahoo/sketches/tuple/Intersection.java
+++ b/src/main/java/org/apache/datasketches/tuple/Intersection.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 import static java.lang.Math.min;
 
 import java.lang.reflect.Array;
 
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * Computes an intersection of two or more generic tuple sketches.
diff --git a/src/main/java/com/yahoo/sketches/tuple/QuickSelectSketch.java b/src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/QuickSelectSketch.java
rename to src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java
index 79f486d..94bff68 100644
--- a/src/main/java/com/yahoo/sketches/tuple/QuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java
@@ -17,23 +17,23 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.REBUILD_THRESHOLD;
-import static com.yahoo.sketches.Util.RESIZE_THRESHOLD;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.Util.simpleIntLog2;
+import static org.apache.datasketches.Util.REBUILD_THRESHOLD;
+import static org.apache.datasketches.Util.RESIZE_THRESHOLD;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.simpleIntLog2;
 
 import java.lang.reflect.Array;
 import java.nio.ByteOrder;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.ByteArrayUtil;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.HashOperations;
-import com.yahoo.sketches.QuickSelect;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ByteArrayUtil;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.HashOperations;
+import org.apache.datasketches.QuickSelect;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * A generic tuple sketch using the QuickSelect algorithm.
diff --git a/src/main/java/com/yahoo/sketches/tuple/SerializerDeserializer.java b/src/main/java/org/apache/datasketches/tuple/SerializerDeserializer.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/tuple/SerializerDeserializer.java
rename to src/main/java/org/apache/datasketches/tuple/SerializerDeserializer.java
index facb08e..539f845 100644
--- a/src/main/java/com/yahoo/sketches/tuple/SerializerDeserializer.java
+++ b/src/main/java/org/apache/datasketches/tuple/SerializerDeserializer.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
 
 final class SerializerDeserializer {
   static enum SketchType { QuickSelectSketch, CompactSketch, ArrayOfDoublesQuickSelectSketch,
diff --git a/src/main/java/com/yahoo/sketches/tuple/Sketch.java b/src/main/java/org/apache/datasketches/tuple/Sketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/Sketch.java
rename to src/main/java/org/apache/datasketches/tuple/Sketch.java
index ca43448..9e4d11f 100644
--- a/src/main/java/com/yahoo/sketches/tuple/Sketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/Sketch.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.LS;
+import static org.apache.datasketches.Util.LS;
 
-import com.yahoo.sketches.BinomialBoundsN;
+import org.apache.datasketches.BinomialBoundsN;
 
 /**
- * This is an equivalent to com.yahoo.sketches.theta.Sketch with
+ * This is an equivalent to org.apache.datasketches.theta.Sketch with
  * addition of a user-defined Summary object associated with every unique entry
  * in the sketch.
  * @param <S> Type of Summary
diff --git a/src/main/java/com/yahoo/sketches/tuple/SketchIterator.java b/src/main/java/org/apache/datasketches/tuple/SketchIterator.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/tuple/SketchIterator.java
rename to src/main/java/org/apache/datasketches/tuple/SketchIterator.java
index 6825b22..fb21c85 100644
--- a/src/main/java/com/yahoo/sketches/tuple/SketchIterator.java
+++ b/src/main/java/org/apache/datasketches/tuple/SketchIterator.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Iterator over a generic tuple sketch
diff --git a/src/main/java/com/yahoo/sketches/tuple/Sketches.java b/src/main/java/org/apache/datasketches/tuple/Sketches.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/Sketches.java
rename to src/main/java/org/apache/datasketches/tuple/Sketches.java
index 0c9ad02..6227883 100644
--- a/src/main/java/com/yahoo/sketches/tuple/Sketches.java
+++ b/src/main/java/org/apache/datasketches/tuple/Sketches.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Convenient static methods to instantiate generic tuple sketches.
diff --git a/src/main/java/com/yahoo/sketches/tuple/Summary.java b/src/main/java/org/apache/datasketches/tuple/Summary.java
similarity index 97%
rename from src/main/java/com/yahoo/sketches/tuple/Summary.java
rename to src/main/java/org/apache/datasketches/tuple/Summary.java
index 8ee5ddc..8614df1 100644
--- a/src/main/java/com/yahoo/sketches/tuple/Summary.java
+++ b/src/main/java/org/apache/datasketches/tuple/Summary.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Interface for user-defined Summary, which is associated with every key in a tuple sketch
diff --git a/src/main/java/com/yahoo/sketches/tuple/SummaryDeserializer.java b/src/main/java/org/apache/datasketches/tuple/SummaryDeserializer.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/SummaryDeserializer.java
rename to src/main/java/org/apache/datasketches/tuple/SummaryDeserializer.java
index 4620be5..8edbc33 100644
--- a/src/main/java/com/yahoo/sketches/tuple/SummaryDeserializer.java
+++ b/src/main/java/org/apache/datasketches/tuple/SummaryDeserializer.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Interface for deserializing user-defined Summary
diff --git a/src/main/java/com/yahoo/sketches/tuple/SummaryFactory.java b/src/main/java/org/apache/datasketches/tuple/SummaryFactory.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/SummaryFactory.java
rename to src/main/java/org/apache/datasketches/tuple/SummaryFactory.java
index f3d5d0a..4b20b67 100644
--- a/src/main/java/com/yahoo/sketches/tuple/SummaryFactory.java
+++ b/src/main/java/org/apache/datasketches/tuple/SummaryFactory.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Interface for user-defined SummaryFactory
diff --git a/src/main/java/com/yahoo/sketches/tuple/SummarySetOperations.java b/src/main/java/org/apache/datasketches/tuple/SummarySetOperations.java
similarity index 98%
rename from src/main/java/com/yahoo/sketches/tuple/SummarySetOperations.java
rename to src/main/java/org/apache/datasketches/tuple/SummarySetOperations.java
index 45fde91..f1e4469 100644
--- a/src/main/java/com/yahoo/sketches/tuple/SummarySetOperations.java
+++ b/src/main/java/org/apache/datasketches/tuple/SummarySetOperations.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * This is to provide methods of producing unions and intersections of two Summary objects.
diff --git a/src/main/java/com/yahoo/sketches/tuple/Union.java b/src/main/java/org/apache/datasketches/tuple/Union.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/Union.java
rename to src/main/java/org/apache/datasketches/tuple/Union.java
index 8a94519..6b024c1 100644
--- a/src/main/java/com/yahoo/sketches/tuple/Union.java
+++ b/src/main/java/org/apache/datasketches/tuple/Union.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_NOMINAL_ENTRIES;
+import static org.apache.datasketches.Util.DEFAULT_NOMINAL_ENTRIES;
 
 /**
  * Compute a union of two or more tuple sketches.
diff --git a/src/main/java/com/yahoo/sketches/tuple/UpdatableSketch.java b/src/main/java/org/apache/datasketches/tuple/UpdatableSketch.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/UpdatableSketch.java
rename to src/main/java/org/apache/datasketches/tuple/UpdatableSketch.java
index b82d2f5..11ec6f0 100644
--- a/src/main/java/com/yahoo/sketches/tuple/UpdatableSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/UpdatableSketch.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.hash.MurmurHash3;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * An extension of QuickSelectSketch&lt;S&gt;, which can be updated with many types of keys.
diff --git a/src/main/java/com/yahoo/sketches/tuple/UpdatableSketchBuilder.java b/src/main/java/org/apache/datasketches/tuple/UpdatableSketchBuilder.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/tuple/UpdatableSketchBuilder.java
rename to src/main/java/org/apache/datasketches/tuple/UpdatableSketchBuilder.java
index 8f213b9..92df480 100644
--- a/src/main/java/com/yahoo/sketches/tuple/UpdatableSketchBuilder.java
+++ b/src/main/java/org/apache/datasketches/tuple/UpdatableSketchBuilder.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.DEFAULT_NOMINAL_ENTRIES;
+import static org.apache.datasketches.Util.DEFAULT_NOMINAL_ENTRIES;
 
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * For building a new generic tuple UpdatableSketch
diff --git a/src/main/java/com/yahoo/sketches/tuple/UpdatableSummary.java b/src/main/java/org/apache/datasketches/tuple/UpdatableSummary.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/UpdatableSummary.java
rename to src/main/java/org/apache/datasketches/tuple/UpdatableSummary.java
index 5e510b7..c66b425 100644
--- a/src/main/java/com/yahoo/sketches/tuple/UpdatableSummary.java
+++ b/src/main/java/org/apache/datasketches/tuple/UpdatableSummary.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
 /**
  * Interface for updating user-defined Summary
diff --git a/src/main/java/com/yahoo/sketches/tuple/Util.java b/src/main/java/org/apache/datasketches/tuple/Util.java
similarity index 87%
rename from src/main/java/com/yahoo/sketches/tuple/Util.java
rename to src/main/java/org/apache/datasketches/tuple/Util.java
index aae40ff..3053b9c 100644
--- a/src/main/java/com/yahoo/sketches/tuple/Util.java
+++ b/src/main/java/org/apache/datasketches/tuple/Util.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
 
-import static com.yahoo.sketches.Util.MIN_LG_ARR_LONGS;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.Util.startingSubMultiple;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
 import static java.nio.charset.StandardCharsets.UTF_8;
+import static org.apache.datasketches.Util.MIN_LG_ARR_LONGS;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.startingSubMultiple;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
 
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.SketchesArgumentException;
 
 final class Util {
 
diff --git a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummary.java b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummary.java
similarity index 93%
rename from src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummary.java
rename to src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummary.java
index 86c4feb..d78e312 100644
--- a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummary.java
+++ b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummary.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.adouble;
+package org.apache.datasketches.tuple.adouble;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.ByteArrayUtil;
-import com.yahoo.sketches.tuple.DeserializeResult;
-import com.yahoo.sketches.tuple.UpdatableSummary;
+import org.apache.datasketches.ByteArrayUtil;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.tuple.DeserializeResult;
+import org.apache.datasketches.tuple.UpdatableSummary;
 
 /**
  * Summary for generic tuple sketches of type Double.
diff --git a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummaryDeserializer.java b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummaryDeserializer.java
similarity index 83%
rename from src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummaryDeserializer.java
rename to src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummaryDeserializer.java
index fa7a0ca..f8fae67 100644
--- a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummaryDeserializer.java
+++ b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummaryDeserializer.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.adouble;
+package org.apache.datasketches.tuple.adouble;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.tuple.DeserializeResult;
-import com.yahoo.sketches.tuple.SummaryDeserializer;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.tuple.DeserializeResult;
+import org.apache.datasketches.tuple.SummaryDeserializer;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummaryFactory.java b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummaryFactory.java
similarity index 95%
rename from src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummaryFactory.java
rename to src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummaryFactory.java
index 106a7dd..51966e1 100644
--- a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummaryFactory.java
+++ b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummaryFactory.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.adouble;
+package org.apache.datasketches.tuple.adouble;
 
-import com.yahoo.sketches.tuple.SummaryFactory;
+import org.apache.datasketches.tuple.SummaryFactory;
 
 /**
  * Factory for DoubleSummary. It supports three modes of operation of DoubleSummary:
diff --git a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummarySetOperations.java b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummarySetOperations.java
similarity index 91%
rename from src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummarySetOperations.java
rename to src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummarySetOperations.java
index 2f8dafd..6590031 100644
--- a/src/main/java/com/yahoo/sketches/tuple/adouble/DoubleSummarySetOperations.java
+++ b/src/main/java/org/apache/datasketches/tuple/adouble/DoubleSummarySetOperations.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.adouble;
+package org.apache.datasketches.tuple.adouble;
 
-import com.yahoo.sketches.tuple.SummarySetOperations;
-import com.yahoo.sketches.tuple.adouble.DoubleSummary.Mode;
+import org.apache.datasketches.tuple.SummarySetOperations;
+import org.apache.datasketches.tuple.adouble.DoubleSummary.Mode;
 
 /**
  * Methods for defining how unions and intersections of two objects of type DoubleSummary
diff --git a/src/main/java/com/yahoo/sketches/tuple/adouble/package-info.java b/src/main/java/org/apache/datasketches/tuple/adouble/package-info.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/tuple/adouble/package-info.java
rename to src/main/java/org/apache/datasketches/tuple/adouble/package-info.java
index 6e976c8..25fe781 100644
--- a/src/main/java/com/yahoo/sketches/tuple/adouble/package-info.java
+++ b/src/main/java/org/apache/datasketches/tuple/adouble/package-info.java
@@ -21,4 +21,4 @@
  * @author Lee Rhodes
  */
 
-package com.yahoo.sketches.tuple.adouble;
+package org.apache.datasketches.tuple.adouble;
diff --git a/src/main/java/com/yahoo/sketches/tuple/package-info.java b/src/main/java/org/apache/datasketches/tuple/package-info.java
similarity index 96%
rename from src/main/java/com/yahoo/sketches/tuple/package-info.java
rename to src/main/java/org/apache/datasketches/tuple/package-info.java
index 90af078..d1f154d 100644
--- a/src/main/java/com/yahoo/sketches/tuple/package-info.java
+++ b/src/main/java/org/apache/datasketches/tuple/package-info.java
@@ -27,4 +27,4 @@
  *
  * @author Alexander Saydakov
  */
-package com.yahoo.sketches.tuple;
+package org.apache.datasketches.tuple;
diff --git a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSketch.java b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSketch.java
similarity index 90%
rename from src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSketch.java
rename to src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSketch.java
index a599d5f..5657f29 100644
--- a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSketch.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.strings;
+package org.apache.datasketches.tuple.strings;
 
-import static com.yahoo.sketches.tuple.strings.ArrayOfStringsSummary.stringArrHash;
+import static org.apache.datasketches.tuple.strings.ArrayOfStringsSummary.stringArrHash;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.ResizeFactor;
-import com.yahoo.sketches.tuple.UpdatableSketch;
+import org.apache.datasketches.ResizeFactor;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.tuple.UpdatableSketch;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummary.java b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummary.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummary.java
rename to src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummary.java
index b033cf7..be21bee 100644
--- a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummary.java
+++ b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummary.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.strings;
+package org.apache.datasketches.tuple.strings;
 
 import static java.nio.charset.StandardCharsets.UTF_8;
 
-import com.yahoo.memory.Buffer;
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableBuffer;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.memory.XxHash64;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.tuple.DeserializeResult;
-import com.yahoo.sketches.tuple.UpdatableSummary;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Buffer;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableBuffer;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.memory.XxHash64;
+import org.apache.datasketches.tuple.DeserializeResult;
+import org.apache.datasketches.tuple.UpdatableSummary;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummaryDeserializer.java b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummaryDeserializer.java
similarity index 84%
rename from src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummaryDeserializer.java
rename to src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummaryDeserializer.java
index 86b5c58..8e34b21 100644
--- a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummaryDeserializer.java
+++ b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummaryDeserializer.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.strings;
+package org.apache.datasketches.tuple.strings;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.tuple.DeserializeResult;
-import com.yahoo.sketches.tuple.SummaryDeserializer;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.tuple.DeserializeResult;
+import org.apache.datasketches.tuple.SummaryDeserializer;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummaryFactory.java b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummaryFactory.java
similarity index 91%
rename from src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummaryFactory.java
rename to src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummaryFactory.java
index 4de6c7d..8294b2b 100644
--- a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummaryFactory.java
+++ b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummaryFactory.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.strings;
+package org.apache.datasketches.tuple.strings;
 
-import com.yahoo.sketches.tuple.SummaryFactory;
+import org.apache.datasketches.tuple.SummaryFactory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummarySetOperations.java b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummarySetOperations.java
similarity index 92%
rename from src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummarySetOperations.java
rename to src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummarySetOperations.java
index 94c91c5..dd24eab 100644
--- a/src/main/java/com/yahoo/sketches/tuple/strings/ArrayOfStringsSummarySetOperations.java
+++ b/src/main/java/org/apache/datasketches/tuple/strings/ArrayOfStringsSummarySetOperations.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.tuple.strings;
+package org.apache.datasketches.tuple.strings;
 
-import com.yahoo.sketches.tuple.SummarySetOperations;
+import org.apache.datasketches.tuple.SummarySetOperations;
 
 /**
  * @author Lee Rhodes
diff --git a/src/main/java/com/yahoo/sketches/tuple/strings/package-info.java b/src/main/java/org/apache/datasketches/tuple/strings/package-info.java
similarity index 94%
rename from src/main/java/com/yahoo/sketches/tuple/strings/package-info.java
rename to src/main/java/org/apache/datasketches/tuple/strings/package-info.java
index c6bfd1c..6b0c83e 100644
--- a/src/main/java/com/yahoo/sketches/tuple/strings/package-info.java
+++ b/src/main/java/org/apache/datasketches/tuple/strings/package-info.java
@@ -21,4 +21,4 @@
  * @author Lee Rhodes
  */
 
-package com.yahoo.sketches.tuple.strings;
+package org.apache.datasketches.tuple.strings;
diff --git a/src/test/java/com/yahoo/sketches/BinomialBoundsNTest.java b/src/test/java/org/apache/datasketches/BinomialBoundsNTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/BinomialBoundsNTest.java
rename to src/test/java/org/apache/datasketches/BinomialBoundsNTest.java
index ab5f8e7..578c39e 100644
--- a/src/test/java/com/yahoo/sketches/BinomialBoundsNTest.java
+++ b/src/test/java/org/apache/datasketches/BinomialBoundsNTest.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import static com.yahoo.sketches.BinomialBoundsN.checkArgs;
-import static com.yahoo.sketches.BinomialBoundsN.getLowerBound;
-import static com.yahoo.sketches.BinomialBoundsN.getUpperBound;
+import static org.apache.datasketches.BinomialBoundsN.checkArgs;
+import static org.apache.datasketches.BinomialBoundsN.getLowerBound;
+import static org.apache.datasketches.BinomialBoundsN.getUpperBound;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 import static org.testng.Assert.fail;
diff --git a/src/test/java/com/yahoo/sketches/BoundsOnBinomialProportionsTest.java b/src/test/java/org/apache/datasketches/BoundsOnBinomialProportionsTest.java
similarity index 92%
rename from src/test/java/com/yahoo/sketches/BoundsOnBinomialProportionsTest.java
rename to src/test/java/org/apache/datasketches/BoundsOnBinomialProportionsTest.java
index 22281f1..bdab44e 100644
--- a/src/test/java/com/yahoo/sketches/BoundsOnBinomialProportionsTest.java
+++ b/src/test/java/org/apache/datasketches/BoundsOnBinomialProportionsTest.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import static com.yahoo.sketches.BoundsOnBinomialProportions.approximateLowerBoundOnP;
-import static com.yahoo.sketches.BoundsOnBinomialProportions.approximateUpperBoundOnP;
-import static com.yahoo.sketches.BoundsOnBinomialProportions.erf;
-import static com.yahoo.sketches.BoundsOnBinomialProportions.estimateUnknownP;
-import static com.yahoo.sketches.BoundsOnBinomialProportions.normalCDF;
+import static org.apache.datasketches.BoundsOnBinomialProportions.approximateLowerBoundOnP;
+import static org.apache.datasketches.BoundsOnBinomialProportions.approximateUpperBoundOnP;
+import static org.apache.datasketches.BoundsOnBinomialProportions.erf;
+import static org.apache.datasketches.BoundsOnBinomialProportions.estimateUnknownP;
+import static org.apache.datasketches.BoundsOnBinomialProportions.normalCDF;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 import static org.testng.Assert.fail;
diff --git a/src/test/java/com/yahoo/sketches/BoundsOnRatiosInSampledSetsTest.java b/src/test/java/org/apache/datasketches/BoundsOnRatiosInSampledSetsTest.java
similarity index 78%
rename from src/test/java/com/yahoo/sketches/BoundsOnRatiosInSampledSetsTest.java
rename to src/test/java/org/apache/datasketches/BoundsOnRatiosInSampledSetsTest.java
index e78c4d6..98476e0 100644
--- a/src/test/java/com/yahoo/sketches/BoundsOnRatiosInSampledSetsTest.java
+++ b/src/test/java/org/apache/datasketches/BoundsOnRatiosInSampledSetsTest.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import static com.yahoo.sketches.BoundsOnRatiosInSampledSets.checkInputs;
-import static com.yahoo.sketches.BoundsOnRatiosInSampledSets.getEstimateOfA;
-import static com.yahoo.sketches.BoundsOnRatiosInSampledSets.getEstimateOfB;
-import static com.yahoo.sketches.BoundsOnRatiosInSampledSets.getEstimateOfBoverA;
-import static com.yahoo.sketches.BoundsOnRatiosInSampledSets.getLowerBoundForBoverA;
-import static com.yahoo.sketches.BoundsOnRatiosInSampledSets.getUpperBoundForBoverA;
+import static org.apache.datasketches.BoundsOnRatiosInSampledSets.checkInputs;
+import static org.apache.datasketches.BoundsOnRatiosInSampledSets.getEstimateOfA;
+import static org.apache.datasketches.BoundsOnRatiosInSampledSets.getEstimateOfB;
+import static org.apache.datasketches.BoundsOnRatiosInSampledSets.getEstimateOfBoverA;
+import static org.apache.datasketches.BoundsOnRatiosInSampledSets.getLowerBoundForBoverA;
+import static org.apache.datasketches.BoundsOnRatiosInSampledSets.getUpperBoundForBoverA;
 import static org.testng.Assert.assertEquals;
 
 import org.testng.annotations.Test;
diff --git a/src/test/java/com/yahoo/sketches/BoundsOnRatiosInThetaSketchedSetsTest.java b/src/test/java/org/apache/datasketches/BoundsOnRatiosInThetaSketchedSetsTest.java
similarity index 93%
rename from src/test/java/com/yahoo/sketches/BoundsOnRatiosInThetaSketchedSetsTest.java
rename to src/test/java/org/apache/datasketches/BoundsOnRatiosInThetaSketchedSetsTest.java
index 86b6b02..2a0cffc 100644
--- a/src/test/java/com/yahoo/sketches/BoundsOnRatiosInThetaSketchedSetsTest.java
+++ b/src/test/java/org/apache/datasketches/BoundsOnRatiosInThetaSketchedSetsTest.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.theta.CompactSketch;
-import com.yahoo.sketches.theta.Intersection;
-import com.yahoo.sketches.theta.Sketches;
-import com.yahoo.sketches.theta.UpdateSketch;
+import org.apache.datasketches.theta.CompactSketch;
+import org.apache.datasketches.theta.Intersection;
+import org.apache.datasketches.theta.Sketches;
+import org.apache.datasketches.theta.UpdateSketch;
 
 @SuppressWarnings("javadoc")
 public class BoundsOnRatiosInThetaSketchedSetsTest {
diff --git a/src/test/java/com/yahoo/sketches/ByteArrayUtilTest.java b/src/test/java/org/apache/datasketches/ByteArrayUtilTest.java
similarity index 76%
rename from src/test/java/com/yahoo/sketches/ByteArrayUtilTest.java
rename to src/test/java/org/apache/datasketches/ByteArrayUtilTest.java
index 9bfe049..b69ae0a 100644
--- a/src/test/java/com/yahoo/sketches/ByteArrayUtilTest.java
+++ b/src/test/java/org/apache/datasketches/ByteArrayUtilTest.java
@@ -17,28 +17,28 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
-
-import static com.yahoo.sketches.ByteArrayUtil.getDoubleBE;
-import static com.yahoo.sketches.ByteArrayUtil.getDoubleLE;
-import static com.yahoo.sketches.ByteArrayUtil.getFloatBE;
-import static com.yahoo.sketches.ByteArrayUtil.getFloatLE;
-import static com.yahoo.sketches.ByteArrayUtil.getIntBE;
-import static com.yahoo.sketches.ByteArrayUtil.getIntLE;
-import static com.yahoo.sketches.ByteArrayUtil.getLongBE;
-import static com.yahoo.sketches.ByteArrayUtil.getLongLE;
-import static com.yahoo.sketches.ByteArrayUtil.getShortBE;
-import static com.yahoo.sketches.ByteArrayUtil.getShortLE;
-import static com.yahoo.sketches.ByteArrayUtil.putDoubleBE;
-import static com.yahoo.sketches.ByteArrayUtil.putDoubleLE;
-import static com.yahoo.sketches.ByteArrayUtil.putFloatBE;
-import static com.yahoo.sketches.ByteArrayUtil.putFloatLE;
-import static com.yahoo.sketches.ByteArrayUtil.putIntBE;
-import static com.yahoo.sketches.ByteArrayUtil.putIntLE;
-import static com.yahoo.sketches.ByteArrayUtil.putLongBE;
-import static com.yahoo.sketches.ByteArrayUtil.putLongLE;
-import static com.yahoo.sketches.ByteArrayUtil.putShortBE;
-import static com.yahoo.sketches.ByteArrayUtil.putShortLE;
+package org.apache.datasketches;
+
+import static org.apache.datasketches.ByteArrayUtil.getDoubleBE;
+import static org.apache.datasketches.ByteArrayUtil.getDoubleLE;
+import static org.apache.datasketches.ByteArrayUtil.getFloatBE;
+import static org.apache.datasketches.ByteArrayUtil.getFloatLE;
+import static org.apache.datasketches.ByteArrayUtil.getIntBE;
+import static org.apache.datasketches.ByteArrayUtil.getIntLE;
+import static org.apache.datasketches.ByteArrayUtil.getLongBE;
+import static org.apache.datasketches.ByteArrayUtil.getLongLE;
+import static org.apache.datasketches.ByteArrayUtil.getShortBE;
+import static org.apache.datasketches.ByteArrayUtil.getShortLE;
+import static org.apache.datasketches.ByteArrayUtil.putDoubleBE;
+import static org.apache.datasketches.ByteArrayUtil.putDoubleLE;
+import static org.apache.datasketches.ByteArrayUtil.putFloatBE;
+import static org.apache.datasketches.ByteArrayUtil.putFloatLE;
+import static org.apache.datasketches.ByteArrayUtil.putIntBE;
+import static org.apache.datasketches.ByteArrayUtil.putIntLE;
+import static org.apache.datasketches.ByteArrayUtil.putLongBE;
+import static org.apache.datasketches.ByteArrayUtil.putLongLE;
+import static org.apache.datasketches.ByteArrayUtil.putShortBE;
+import static org.apache.datasketches.ByteArrayUtil.putShortLE;
 import static org.testng.Assert.assertEquals;
 
 import org.testng.annotations.Test;
diff --git a/src/test/java/com/yahoo/sketches/FamilyTest.java b/src/test/java/org/apache/datasketches/FamilyTest.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/FamilyTest.java
rename to src/test/java/org/apache/datasketches/FamilyTest.java
index 7f40ef8..cd996ab 100644
--- a/src/test/java/com/yahoo/sketches/FamilyTest.java
+++ b/src/test/java/org/apache/datasketches/FamilyTest.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import static com.yahoo.sketches.Family.idToFamily;
-import static com.yahoo.sketches.Family.stringToFamily;
+import static org.apache.datasketches.Family.idToFamily;
+import static org.apache.datasketches.Family.stringToFamily;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 
diff --git a/src/test/java/com/yahoo/sketches/HashOperationsTest.java b/src/test/java/org/apache/datasketches/HashOperationsTest.java
similarity index 87%
rename from src/test/java/com/yahoo/sketches/HashOperationsTest.java
rename to src/test/java/org/apache/datasketches/HashOperationsTest.java
index a3bb126..81d91ba 100644
--- a/src/test/java/com/yahoo/sketches/HashOperationsTest.java
+++ b/src/test/java/org/apache/datasketches/HashOperationsTest.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
-
-import static com.yahoo.sketches.HashOperations.checkHashCorruption;
-import static com.yahoo.sketches.HashOperations.checkThetaCorruption;
-import static com.yahoo.sketches.HashOperations.continueCondition;
-import static com.yahoo.sketches.HashOperations.fastHashInsertOnly;
-import static com.yahoo.sketches.HashOperations.fastHashSearchOrInsert;
-import static com.yahoo.sketches.HashOperations.hashArrayInsert;
-import static com.yahoo.sketches.HashOperations.hashInsertOnly;
-import static com.yahoo.sketches.HashOperations.hashSearch;
-import static com.yahoo.sketches.HashOperations.hashSearchOrInsert;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
+package org.apache.datasketches;
+
+import static org.apache.datasketches.HashOperations.checkHashCorruption;
+import static org.apache.datasketches.HashOperations.checkThetaCorruption;
+import static org.apache.datasketches.HashOperations.continueCondition;
+import static org.apache.datasketches.HashOperations.fastHashInsertOnly;
+import static org.apache.datasketches.HashOperations.fastHashSearchOrInsert;
+import static org.apache.datasketches.HashOperations.hashArrayInsert;
+import static org.apache.datasketches.HashOperations.hashInsertOnly;
+import static org.apache.datasketches.HashOperations.hashSearch;
+import static org.apache.datasketches.HashOperations.hashSearchOrInsert;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertTrue;
@@ -36,7 +36,7 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 @SuppressWarnings("javadoc")
 public class HashOperationsTest {
diff --git a/src/test/java/com/yahoo/sketches/QuickSelectTest.java b/src/test/java/org/apache/datasketches/QuickSelectTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/QuickSelectTest.java
rename to src/test/java/org/apache/datasketches/QuickSelectTest.java
index cef84a2..ca9766e 100644
--- a/src/test/java/com/yahoo/sketches/QuickSelectTest.java
+++ b/src/test/java/org/apache/datasketches/QuickSelectTest.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
-import static com.yahoo.sketches.QuickSelect.select;
-import static com.yahoo.sketches.QuickSelect.selectExcludingZeros;
-import static com.yahoo.sketches.QuickSelect.selectIncludingZeros;
+import static org.apache.datasketches.QuickSelect.select;
+import static org.apache.datasketches.QuickSelect.selectExcludingZeros;
+import static org.apache.datasketches.QuickSelect.selectIncludingZeros;
 import static java.lang.String.format;
 
 import java.util.Random;
diff --git a/src/test/java/com/yahoo/sketches/SketchesExceptionTest.java b/src/test/java/org/apache/datasketches/SketchesExceptionTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/SketchesExceptionTest.java
rename to src/test/java/org/apache/datasketches/SketchesExceptionTest.java
index 798d6d5..ca852c9 100644
--- a/src/test/java/com/yahoo/sketches/SketchesExceptionTest.java
+++ b/src/test/java/org/apache/datasketches/SketchesExceptionTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
+package org.apache.datasketches;
 
 import org.testng.annotations.Test;
 
diff --git a/src/test/java/com/yahoo/sketches/UtilTest.java b/src/test/java/org/apache/datasketches/UtilTest.java
similarity index 87%
rename from src/test/java/com/yahoo/sketches/UtilTest.java
rename to src/test/java/org/apache/datasketches/UtilTest.java
index 694c07f..7226280 100644
--- a/src/test/java/com/yahoo/sketches/UtilTest.java
+++ b/src/test/java/org/apache/datasketches/UtilTest.java
@@ -17,31 +17,31 @@
  * under the License.
  */
 
-package com.yahoo.sketches;
-
-import static com.yahoo.sketches.Util.bytesToInt;
-import static com.yahoo.sketches.Util.bytesToLong;
-import static com.yahoo.sketches.Util.bytesToString;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.Util.ceilingPowerOfBdouble;
-import static com.yahoo.sketches.Util.characterPad;
-import static com.yahoo.sketches.Util.checkIfMultipleOf8AndGT0;
-import static com.yahoo.sketches.Util.checkIfPowerOf2;
-import static com.yahoo.sketches.Util.checkProbability;
-import static com.yahoo.sketches.Util.evenlyLgSpaced;
-import static com.yahoo.sketches.Util.floorPowerOf2;
-import static com.yahoo.sketches.Util.floorPowerOfBdouble;
-import static com.yahoo.sketches.Util.intToBytes;
-import static com.yahoo.sketches.Util.isLessThanUnsigned;
-import static com.yahoo.sketches.Util.isMultipleOf8AndGT0;
-import static com.yahoo.sketches.Util.isPowerOf2;
-import static com.yahoo.sketches.Util.milliSecToString;
-import static com.yahoo.sketches.Util.nanoSecToString;
-import static com.yahoo.sketches.Util.pwr2LawNext;
-import static com.yahoo.sketches.Util.pwr2LawPrev;
-import static com.yahoo.sketches.Util.pwrLawNextDouble;
-import static com.yahoo.sketches.Util.simpleIntLog2;
-import static com.yahoo.sketches.Util.zeroPad;
+package org.apache.datasketches;
+
+import static org.apache.datasketches.Util.bytesToInt;
+import static org.apache.datasketches.Util.bytesToLong;
+import static org.apache.datasketches.Util.bytesToString;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.ceilingPowerOfBdouble;
+import static org.apache.datasketches.Util.characterPad;
+import static org.apache.datasketches.Util.checkIfMultipleOf8AndGT0;
+import static org.apache.datasketches.Util.checkIfPowerOf2;
+import static org.apache.datasketches.Util.checkProbability;
+import static org.apache.datasketches.Util.evenlyLgSpaced;
+import static org.apache.datasketches.Util.floorPowerOf2;
+import static org.apache.datasketches.Util.floorPowerOfBdouble;
+import static org.apache.datasketches.Util.intToBytes;
+import static org.apache.datasketches.Util.isLessThanUnsigned;
+import static org.apache.datasketches.Util.isMultipleOf8AndGT0;
+import static org.apache.datasketches.Util.isPowerOf2;
+import static org.apache.datasketches.Util.milliSecToString;
+import static org.apache.datasketches.Util.nanoSecToString;
+import static org.apache.datasketches.Util.pwr2LawNext;
+import static org.apache.datasketches.Util.pwr2LawPrev;
+import static org.apache.datasketches.Util.pwrLawNextDouble;
+import static org.apache.datasketches.Util.simpleIntLog2;
+import static org.apache.datasketches.Util.zeroPad;
 import static java.lang.Math.pow;
 import static org.testng.Assert.fail;
 
diff --git a/src/test/java/com/yahoo/sketches/cpc/BitMatrix.java b/src/test/java/org/apache/datasketches/cpc/BitMatrix.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/cpc/BitMatrix.java
rename to src/test/java/org/apache/datasketches/cpc/BitMatrix.java
index 13a2ebf..eca0685 100644
--- a/src/test/java/com/yahoo/sketches/cpc/BitMatrix.java
+++ b/src/test/java/org/apache/datasketches/cpc/BitMatrix.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
 
 import java.util.Arrays;
 
diff --git a/src/test/java/com/yahoo/sketches/cpc/CompressedStateTest.java b/src/test/java/org/apache/datasketches/cpc/CompressedStateTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/cpc/CompressedStateTest.java
rename to src/test/java/org/apache/datasketches/cpc/CompressedStateTest.java
index d1ac36d..6b4cb2b 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CompressedStateTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/CompressedStateTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.fail;
@@ -26,8 +26,8 @@ import java.io.PrintStream;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/CompressionCharacterization.java b/src/test/java/org/apache/datasketches/cpc/CompressionCharacterization.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/cpc/CompressionCharacterization.java
rename to src/test/java/org/apache/datasketches/cpc/CompressionCharacterization.java
index 9e26b86..967a1c0 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CompressionCharacterization.java
+++ b/src/test/java/org/apache/datasketches/cpc/CompressionCharacterization.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.ceilingPowerOf2;
-import static com.yahoo.sketches.Util.iGoldenU64;
-import static com.yahoo.sketches.Util.log2;
-import static com.yahoo.sketches.Util.pwrLawNextDouble;
-import static com.yahoo.sketches.cpc.CompressedState.importFromMemory;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.ceilingPowerOf2;
+import static org.apache.datasketches.Util.iGoldenU64;
+import static org.apache.datasketches.Util.log2;
+import static org.apache.datasketches.Util.pwrLawNextDouble;
+import static org.apache.datasketches.cpc.CompressedState.importFromMemory;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
 
 import java.io.PrintStream;
 import java.io.PrintWriter;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/CompressionDataTest.java b/src/test/java/org/apache/datasketches/cpc/CompressionDataTest.java
similarity index 71%
rename from src/test/java/com/yahoo/sketches/cpc/CompressionDataTest.java
rename to src/test/java/org/apache/datasketches/cpc/CompressionDataTest.java
index df06ccd..0f601b1 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CompressionDataTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/CompressionDataTest.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.CompressionData.decodingTablesForHighEntropyByte;
-import static com.yahoo.sketches.cpc.CompressionData.encodingTablesForHighEntropyByte;
-import static com.yahoo.sketches.cpc.CompressionData.lengthLimitedUnaryDecodingTable65;
-import static com.yahoo.sketches.cpc.CompressionData.lengthLimitedUnaryEncodingTable65;
-import static com.yahoo.sketches.cpc.CompressionData.validateDecodingTable;
+import static org.apache.datasketches.cpc.CompressionData.decodingTablesForHighEntropyByte;
+import static org.apache.datasketches.cpc.CompressionData.encodingTablesForHighEntropyByte;
+import static org.apache.datasketches.cpc.CompressionData.lengthLimitedUnaryDecodingTable65;
+import static org.apache.datasketches.cpc.CompressionData.lengthLimitedUnaryEncodingTable65;
+import static org.apache.datasketches.cpc.CompressionData.validateDecodingTable;
 
 import org.testng.annotations.Test;
 
diff --git a/src/test/java/com/yahoo/sketches/cpc/CpcCBinariesTest.java b/src/test/java/org/apache/datasketches/cpc/CpcCBinariesTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/cpc/CpcCBinariesTest.java
rename to src/test/java/org/apache/datasketches/cpc/CpcCBinariesTest.java
index d583c3c..a3ca6e5 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CpcCBinariesTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/CpcCBinariesTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 import static org.testng.Assert.assertEquals;
 
@@ -27,8 +27,8 @@ import java.io.PrintStream;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.MapHandle;
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.MapHandle;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * Checks sketch images obtained from C++.
diff --git a/src/test/java/com/yahoo/sketches/cpc/CpcCompressionTest.java b/src/test/java/org/apache/datasketches/cpc/CpcCompressionTest.java
similarity index 84%
rename from src/test/java/com/yahoo/sketches/cpc/CpcCompressionTest.java
rename to src/test/java/org/apache/datasketches/cpc/CpcCompressionTest.java
index 84cd6fe..d2b66f8 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CpcCompressionTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/CpcCompressionTest.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
-
-import static com.yahoo.sketches.cpc.CompressionData.decodingTablesForHighEntropyByte;
-import static com.yahoo.sketches.cpc.CompressionData.encodingTablesForHighEntropyByte;
-import static com.yahoo.sketches.cpc.CompressionData.lengthLimitedUnaryDecodingTable65;
-import static com.yahoo.sketches.cpc.CompressionData.lengthLimitedUnaryEncodingTable65;
-import static com.yahoo.sketches.cpc.CpcCompression.BIT_BUF;
-import static com.yahoo.sketches.cpc.CpcCompression.BUF_BITS;
-import static com.yahoo.sketches.cpc.CpcCompression.NEXT_WORD_IDX;
-import static com.yahoo.sketches.cpc.CpcCompression.lowLevelCompressBytes;
-import static com.yahoo.sketches.cpc.CpcCompression.lowLevelCompressPairs;
-import static com.yahoo.sketches.cpc.CpcCompression.lowLevelUncompressBytes;
-import static com.yahoo.sketches.cpc.CpcCompression.lowLevelUncompressPairs;
-import static com.yahoo.sketches.cpc.CpcCompression.readUnary;
-import static com.yahoo.sketches.cpc.CpcCompression.writeUnary;
+package org.apache.datasketches.cpc;
+
+import static org.apache.datasketches.cpc.CompressionData.decodingTablesForHighEntropyByte;
+import static org.apache.datasketches.cpc.CompressionData.encodingTablesForHighEntropyByte;
+import static org.apache.datasketches.cpc.CompressionData.lengthLimitedUnaryDecodingTable65;
+import static org.apache.datasketches.cpc.CompressionData.lengthLimitedUnaryEncodingTable65;
+import static org.apache.datasketches.cpc.CpcCompression.BIT_BUF;
+import static org.apache.datasketches.cpc.CpcCompression.BUF_BITS;
+import static org.apache.datasketches.cpc.CpcCompression.NEXT_WORD_IDX;
+import static org.apache.datasketches.cpc.CpcCompression.lowLevelCompressBytes;
+import static org.apache.datasketches.cpc.CpcCompression.lowLevelCompressPairs;
+import static org.apache.datasketches.cpc.CpcCompression.lowLevelUncompressBytes;
+import static org.apache.datasketches.cpc.CpcCompression.lowLevelUncompressPairs;
+import static org.apache.datasketches.cpc.CpcCompression.readUnary;
+import static org.apache.datasketches.cpc.CpcCompression.writeUnary;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 
diff --git a/src/test/java/com/yahoo/sketches/cpc/CpcSketchTest.java b/src/test/java/org/apache/datasketches/cpc/CpcSketchTest.java
similarity index 93%
rename from src/test/java/com/yahoo/sketches/cpc/CpcSketchTest.java
rename to src/test/java/org/apache/datasketches/cpc/CpcSketchTest.java
index ca12224..f741e65 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CpcSketchTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/CpcSketchTest.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.cpc.TestUtil.specialEquals;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.cpc.TestUtil.specialEquals;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 import static org.testng.Assert.fail;
@@ -29,9 +29,9 @@ import java.io.PrintStream;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
@@ -233,7 +233,7 @@ public class CpcSketchTest {
     sketch.update(v4);
     assertEquals(sketch.getEstimate(), 1, 0.01);
     // to compare with C++
-    //com.yahoo.sketches.tuple.TestUtil.writeBytesToFile(sketch.toByteArray(), "cpc-negative-one.bin");
+    //org.apache.datasketches.tuple.TestUtil.writeBytesToFile(sketch.toByteArray(), "cpc-negative-one.bin");
   }
 
   /**
diff --git a/src/test/java/com/yahoo/sketches/cpc/CpcUnionTest.java b/src/test/java/org/apache/datasketches/cpc/CpcUnionTest.java
similarity index 92%
rename from src/test/java/com/yahoo/sketches/cpc/CpcUnionTest.java
rename to src/test/java/org/apache/datasketches/cpc/CpcUnionTest.java
index 8901ccc..11a7811 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CpcUnionTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/CpcUnionTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
@@ -25,9 +25,9 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/CpcWrapperTest.java b/src/test/java/org/apache/datasketches/cpc/CpcWrapperTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/cpc/CpcWrapperTest.java
rename to src/test/java/org/apache/datasketches/cpc/CpcWrapperTest.java
index a1fd5e4..4edc4b7 100644
--- a/src/test/java/com/yahoo/sketches/cpc/CpcWrapperTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/CpcWrapperTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.fail;
@@ -26,8 +26,8 @@ import java.io.PrintStream;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.Family;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.Family;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/IconEstimatorTest.java b/src/test/java/org/apache/datasketches/cpc/IconEstimatorTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/cpc/IconEstimatorTest.java
rename to src/test/java/org/apache/datasketches/cpc/IconEstimatorTest.java
index 495e531..e0efa02 100644
--- a/src/test/java/com/yahoo/sketches/cpc/IconEstimatorTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/IconEstimatorTest.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.IconEstimator.getIconEstimate;
+import static org.apache.datasketches.cpc.IconEstimator.getIconEstimate;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/LzTzSpeedTesting.java b/src/test/java/org/apache/datasketches/cpc/LzTzSpeedTesting.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/cpc/LzTzSpeedTesting.java
rename to src/test/java/org/apache/datasketches/cpc/LzTzSpeedTesting.java
index ed0fc56..f2e61aa 100644
--- a/src/test/java/com/yahoo/sketches/cpc/LzTzSpeedTesting.java
+++ b/src/test/java/org/apache/datasketches/cpc/LzTzSpeedTesting.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.iGoldenU64;
+import static org.apache.datasketches.Util.iGoldenU64;
 import static org.testng.Assert.assertEquals;
 
 import java.util.Random;
diff --git a/src/test/java/com/yahoo/sketches/cpc/MergingValidation.java b/src/test/java/org/apache/datasketches/cpc/MergingValidation.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/cpc/MergingValidation.java
rename to src/test/java/org/apache/datasketches/cpc/MergingValidation.java
index debe1b4..fae641a 100644
--- a/src/test/java/com/yahoo/sketches/cpc/MergingValidation.java
+++ b/src/test/java/org/apache/datasketches/cpc/MergingValidation.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.iGoldenU64;
-import static com.yahoo.sketches.Util.pwrLawNextDouble;
-import static com.yahoo.sketches.cpc.IconEstimator.getIconEstimate;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertEquals;
+import static org.apache.datasketches.Util.iGoldenU64;
+import static org.apache.datasketches.Util.pwrLawNextDouble;
+import static org.apache.datasketches.cpc.IconEstimator.getIconEstimate;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertEquals;
 
 import java.io.PrintStream;
 import java.io.PrintWriter;
diff --git a/src/test/java/com/yahoo/sketches/cpc/PairTableTest.java b/src/test/java/org/apache/datasketches/cpc/PairTableTest.java
similarity index 95%
rename from src/test/java/com/yahoo/sketches/cpc/PairTableTest.java
rename to src/test/java/org/apache/datasketches/cpc/PairTableTest.java
index a43f763..c3576d2 100644
--- a/src/test/java/com/yahoo/sketches/cpc/PairTableTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/PairTableTest.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.PairTable.introspectiveInsertionSort;
+import static org.apache.datasketches.cpc.PairTable.introspectiveInsertionSort;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.fail;
 
@@ -27,7 +27,7 @@ import java.util.Random;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/PreambleUtilTest.java b/src/test/java/org/apache/datasketches/cpc/PreambleUtilTest.java
similarity index 78%
rename from src/test/java/com/yahoo/sketches/cpc/PreambleUtilTest.java
rename to src/test/java/org/apache/datasketches/cpc/PreambleUtilTest.java
index d7dffb8..71297f5 100644
--- a/src/test/java/com/yahoo/sketches/cpc/PreambleUtilTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/PreambleUtilTest.java
@@ -17,37 +17,37 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
-import static com.yahoo.sketches.Util.computeSeedHash;
-import static com.yahoo.sketches.cpc.PreambleUtil.COMPRESSED_FLAG_MASK;
-import static com.yahoo.sketches.cpc.PreambleUtil.SER_VER;
-import static com.yahoo.sketches.cpc.PreambleUtil.getDefinedPreInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getFamily;
-import static com.yahoo.sketches.cpc.PreambleUtil.getFiCol;
-import static com.yahoo.sketches.cpc.PreambleUtil.getFlags;
-import static com.yahoo.sketches.cpc.PreambleUtil.getFormat;
-import static com.yahoo.sketches.cpc.PreambleUtil.getHipAccum;
-import static com.yahoo.sketches.cpc.PreambleUtil.getKxP;
-import static com.yahoo.sketches.cpc.PreambleUtil.getLgK;
-import static com.yahoo.sketches.cpc.PreambleUtil.getNumCoupons;
-import static com.yahoo.sketches.cpc.PreambleUtil.getNumSv;
-import static com.yahoo.sketches.cpc.PreambleUtil.getPreInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getSeedHash;
-import static com.yahoo.sketches.cpc.PreambleUtil.getSerVer;
-import static com.yahoo.sketches.cpc.PreambleUtil.getSvLengthInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getSvStreamOffset;
-import static com.yahoo.sketches.cpc.PreambleUtil.getWLengthInts;
-import static com.yahoo.sketches.cpc.PreambleUtil.getWStreamOffset;
-import static com.yahoo.sketches.cpc.PreambleUtil.hasHip;
-import static com.yahoo.sketches.cpc.PreambleUtil.putEmptyMerged;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingHip;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingHipNoSv;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingMerged;
-import static com.yahoo.sketches.cpc.PreambleUtil.putPinnedSlidingMergedNoSv;
-import static com.yahoo.sketches.cpc.PreambleUtil.putSparseHybridHip;
-import static com.yahoo.sketches.cpc.PreambleUtil.putSparseHybridMerged;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.computeSeedHash;
+import static org.apache.datasketches.cpc.PreambleUtil.COMPRESSED_FLAG_MASK;
+import static org.apache.datasketches.cpc.PreambleUtil.SER_VER;
+import static org.apache.datasketches.cpc.PreambleUtil.getDefinedPreInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getFamily;
+import static org.apache.datasketches.cpc.PreambleUtil.getFiCol;
+import static org.apache.datasketches.cpc.PreambleUtil.getFlags;
+import static org.apache.datasketches.cpc.PreambleUtil.getFormat;
+import static org.apache.datasketches.cpc.PreambleUtil.getHipAccum;
+import static org.apache.datasketches.cpc.PreambleUtil.getKxP;
+import static org.apache.datasketches.cpc.PreambleUtil.getLgK;
+import static org.apache.datasketches.cpc.PreambleUtil.getNumCoupons;
+import static org.apache.datasketches.cpc.PreambleUtil.getNumSv;
+import static org.apache.datasketches.cpc.PreambleUtil.getPreInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getSeedHash;
+import static org.apache.datasketches.cpc.PreambleUtil.getSerVer;
+import static org.apache.datasketches.cpc.PreambleUtil.getSvLengthInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getSvStreamOffset;
+import static org.apache.datasketches.cpc.PreambleUtil.getWLengthInts;
+import static org.apache.datasketches.cpc.PreambleUtil.getWStreamOffset;
+import static org.apache.datasketches.cpc.PreambleUtil.hasHip;
+import static org.apache.datasketches.cpc.PreambleUtil.putEmptyMerged;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingHip;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingHipNoSv;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingMerged;
+import static org.apache.datasketches.cpc.PreambleUtil.putPinnedSlidingMergedNoSv;
+import static org.apache.datasketches.cpc.PreambleUtil.putSparseHybridHip;
+import static org.apache.datasketches.cpc.PreambleUtil.putSparseHybridMerged;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertTrue;
@@ -55,11 +55,11 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.Family;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.SketchesStateException;
-import com.yahoo.sketches.cpc.PreambleUtil.HiField;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.Family;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesStateException;
+import org.apache.datasketches.cpc.PreambleUtil.HiField;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/QuickMergingValidation.java b/src/test/java/org/apache/datasketches/cpc/QuickMergingValidation.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/cpc/QuickMergingValidation.java
rename to src/test/java/org/apache/datasketches/cpc/QuickMergingValidation.java
index 9dd0838..9e1dc51 100644
--- a/src/test/java/com/yahoo/sketches/cpc/QuickMergingValidation.java
+++ b/src/test/java/org/apache/datasketches/cpc/QuickMergingValidation.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.iGoldenU64;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.Util.iGoldenU64;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
 
 import java.io.PrintStream;
 import java.io.PrintWriter;
diff --git a/src/test/java/com/yahoo/sketches/cpc/RuntimeAssertsTest.java b/src/test/java/org/apache/datasketches/cpc/RuntimeAssertsTest.java
similarity index 95%
rename from src/test/java/com/yahoo/sketches/cpc/RuntimeAssertsTest.java
rename to src/test/java/org/apache/datasketches/cpc/RuntimeAssertsTest.java
index f963e0f..4f488d8 100644
--- a/src/test/java/com/yahoo/sketches/cpc/RuntimeAssertsTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/RuntimeAssertsTest.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertEquals;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertFalse;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertEquals;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertFalse;
 import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
diff --git a/src/test/java/com/yahoo/sketches/cpc/SpecialCBinariesTest.java b/src/test/java/org/apache/datasketches/cpc/SpecialCBinariesTest.java
similarity index 92%
rename from src/test/java/com/yahoo/sketches/cpc/SpecialCBinariesTest.java
rename to src/test/java/org/apache/datasketches/cpc/SpecialCBinariesTest.java
index 1bec09c..842c7f3 100644
--- a/src/test/java/com/yahoo/sketches/cpc/SpecialCBinariesTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/SpecialCBinariesTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
 import static org.testng.Assert.assertTrue;
 
@@ -29,11 +29,11 @@ import java.nio.file.Files;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.MapHandle;
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMapHandle;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.memory.MapHandle;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMapHandle;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/cpc/StreamingValidation.java b/src/test/java/org/apache/datasketches/cpc/StreamingValidation.java
similarity index 95%
rename from src/test/java/com/yahoo/sketches/cpc/StreamingValidation.java
rename to src/test/java/org/apache/datasketches/cpc/StreamingValidation.java
index 65a8834..4a883fe 100644
--- a/src/test/java/com/yahoo/sketches/cpc/StreamingValidation.java
+++ b/src/test/java/org/apache/datasketches/cpc/StreamingValidation.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.iGoldenU64;
-import static com.yahoo.sketches.Util.pwrLawNextDouble;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertEquals;
+import static org.apache.datasketches.Util.iGoldenU64;
+import static org.apache.datasketches.Util.pwrLawNextDouble;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertEquals;
 
 import java.io.PrintStream;
 import java.io.PrintWriter;
diff --git a/src/test/java/com/yahoo/sketches/cpc/TestAllTest.java b/src/test/java/org/apache/datasketches/cpc/TestAllTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/cpc/TestAllTest.java
rename to src/test/java/org/apache/datasketches/cpc/TestAllTest.java
index cbcabc0..006cfd5 100644
--- a/src/test/java/com/yahoo/sketches/cpc/TestAllTest.java
+++ b/src/test/java/org/apache/datasketches/cpc/TestAllTest.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
+import static org.apache.datasketches.Util.DEFAULT_UPDATE_SEED;
 
 import java.io.PrintStream;
 import java.io.PrintWriter;
diff --git a/src/test/java/com/yahoo/sketches/cpc/TestUtil.java b/src/test/java/org/apache/datasketches/cpc/TestUtil.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/cpc/TestUtil.java
rename to src/test/java/org/apache/datasketches/cpc/TestUtil.java
index ca0e04f..70607ec 100644
--- a/src/test/java/com/yahoo/sketches/cpc/TestUtil.java
+++ b/src/test/java/org/apache/datasketches/cpc/TestUtil.java
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-package com.yahoo.sketches.cpc;
+package org.apache.datasketches.cpc;
 
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssert;
-import static com.yahoo.sketches.cpc.RuntimeAsserts.rtAssertEquals;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssert;
+import static org.apache.datasketches.cpc.RuntimeAsserts.rtAssertEquals;
 import static java.lang.Math.pow;
 import static java.lang.Math.round;
 
diff --git a/src/test/java/com/yahoo/sketches/fdt/FdtSketchTest.java b/src/test/java/org/apache/datasketches/fdt/FdtSketchTest.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/fdt/FdtSketchTest.java
rename to src/test/java/org/apache/datasketches/fdt/FdtSketchTest.java
index 7940676..afd7e69 100644
--- a/src/test/java/com/yahoo/sketches/fdt/FdtSketchTest.java
+++ b/src/test/java/org/apache/datasketches/fdt/FdtSketchTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.fdt;
+package org.apache.datasketches.fdt;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
@@ -27,10 +27,10 @@ import java.util.List;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.tuple.SketchIterator;
-import com.yahoo.sketches.tuple.strings.ArrayOfStringsSummary;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.tuple.SketchIterator;
+import org.apache.datasketches.tuple.strings.ArrayOfStringsSummary;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/fdt/GroupTest.java b/src/test/java/org/apache/datasketches/fdt/GroupTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/fdt/GroupTest.java
rename to src/test/java/org/apache/datasketches/fdt/GroupTest.java
index 36ca51a..100f800 100644
--- a/src/test/java/com/yahoo/sketches/fdt/GroupTest.java
+++ b/src/test/java/org/apache/datasketches/fdt/GroupTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.fdt;
+package org.apache.datasketches.fdt;
 
 import static org.testng.Assert.assertEquals;
 
diff --git a/src/test/java/com/yahoo/sketches/frequencies/DistTest.java b/src/test/java/org/apache/datasketches/frequencies/DistTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/frequencies/DistTest.java
rename to src/test/java/org/apache/datasketches/frequencies/DistTest.java
index 6b76063..b35659d 100644
--- a/src/test/java/com/yahoo/sketches/frequencies/DistTest.java
+++ b/src/test/java/org/apache/datasketches/frequencies/DistTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
 import org.testng.Assert;
 //import org.testng.annotations.Test;
diff --git a/src/test/java/com/yahoo/sketches/frequencies/ItemsSketchTest.java b/src/test/java/org/apache/datasketches/frequencies/ItemsSketchTest.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/frequencies/ItemsSketchTest.java
rename to src/test/java/org/apache/datasketches/frequencies/ItemsSketchTest.java
index cbaabec..211aa8e 100644
--- a/src/test/java/com/yahoo/sketches/frequencies/ItemsSketchTest.java
+++ b/src/test/java/org/apache/datasketches/frequencies/ItemsSketchTest.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
-import static com.yahoo.sketches.frequencies.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.frequencies.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.frequencies.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.frequencies.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.frequencies.Util.LG_MIN_MAP_SIZE;
+import static org.apache.datasketches.frequencies.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.frequencies.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.frequencies.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.frequencies.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.frequencies.Util.LG_MIN_MAP_SIZE;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertNotNull;
@@ -33,13 +33,13 @@ import static org.testng.Assert.fail;
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfLongsSerDe;
-import com.yahoo.sketches.ArrayOfStringsSerDe;
-import com.yahoo.sketches.ArrayOfUtf16StringsSerDe;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.frequencies.ItemsSketch.Row;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.ArrayOfLongsSerDe;
+import org.apache.datasketches.ArrayOfStringsSerDe;
+import org.apache.datasketches.ArrayOfUtf16StringsSerDe;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.frequencies.ItemsSketch.Row;
 
 @SuppressWarnings("javadoc")
 public class ItemsSketchTest {
diff --git a/src/test/java/com/yahoo/sketches/frequencies/LongsSketchTest.java b/src/test/java/org/apache/datasketches/frequencies/LongsSketchTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/frequencies/LongsSketchTest.java
rename to src/test/java/org/apache/datasketches/frequencies/LongsSketchTest.java
index 619dfef..4f53204 100644
--- a/src/test/java/com/yahoo/sketches/frequencies/LongsSketchTest.java
+++ b/src/test/java/org/apache/datasketches/frequencies/LongsSketchTest.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
-
-import static com.yahoo.sketches.Util.LS;
-import static com.yahoo.sketches.frequencies.DistTest.randomGeometricDist;
-import static com.yahoo.sketches.frequencies.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.frequencies.PreambleUtil.FLAGS_BYTE;
-import static com.yahoo.sketches.frequencies.PreambleUtil.PREAMBLE_LONGS_BYTE;
-import static com.yahoo.sketches.frequencies.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.frequencies.Util.LG_MIN_MAP_SIZE;
+package org.apache.datasketches.frequencies;
+
+import static org.apache.datasketches.Util.LS;
+import static org.apache.datasketches.frequencies.DistTest.randomGeometricDist;
+import static org.apache.datasketches.frequencies.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.frequencies.PreambleUtil.FLAGS_BYTE;
+import static org.apache.datasketches.frequencies.PreambleUtil.PREAMBLE_LONGS_BYTE;
+import static org.apache.datasketches.frequencies.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.frequencies.Util.LG_MIN_MAP_SIZE;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertNotNull;
@@ -35,11 +35,11 @@ import static org.testng.Assert.fail;
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
-import com.yahoo.sketches.frequencies.LongsSketch.Row;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
+import org.apache.datasketches.frequencies.LongsSketch.Row;
 
 @SuppressWarnings("javadoc")
 public class LongsSketchTest {
diff --git a/src/test/java/com/yahoo/sketches/frequencies/ReversePurgeLongHashMapTest.java b/src/test/java/org/apache/datasketches/frequencies/ReversePurgeLongHashMapTest.java
similarity index 92%
rename from src/test/java/com/yahoo/sketches/frequencies/ReversePurgeLongHashMapTest.java
rename to src/test/java/org/apache/datasketches/frequencies/ReversePurgeLongHashMapTest.java
index 732dccb..c4ff09a 100644
--- a/src/test/java/com/yahoo/sketches/frequencies/ReversePurgeLongHashMapTest.java
+++ b/src/test/java/org/apache/datasketches/frequencies/ReversePurgeLongHashMapTest.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
 import static org.testng.Assert.assertNull;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 @SuppressWarnings("javadoc")
 public class ReversePurgeLongHashMapTest {
diff --git a/src/test/java/com/yahoo/sketches/frequencies/SerDeCompatibilityTest.java b/src/test/java/org/apache/datasketches/frequencies/SerDeCompatibilityTest.java
similarity index 93%
rename from src/test/java/com/yahoo/sketches/frequencies/SerDeCompatibilityTest.java
rename to src/test/java/org/apache/datasketches/frequencies/SerDeCompatibilityTest.java
index 205e900..2417cf7 100644
--- a/src/test/java/com/yahoo/sketches/frequencies/SerDeCompatibilityTest.java
+++ b/src/test/java/org/apache/datasketches/frequencies/SerDeCompatibilityTest.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.ArrayOfItemsSerDe;
-import com.yahoo.sketches.ArrayOfLongsSerDe;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.ArrayOfItemsSerDe;
+import org.apache.datasketches.ArrayOfLongsSerDe;
 
 @SuppressWarnings("javadoc")
 public class SerDeCompatibilityTest {
diff --git a/src/test/java/com/yahoo/sketches/frequencies/StressTestHashMap.java b/src/test/java/org/apache/datasketches/frequencies/StressTestHashMap.java
similarity index 95%
rename from src/test/java/com/yahoo/sketches/frequencies/StressTestHashMap.java
rename to src/test/java/org/apache/datasketches/frequencies/StressTestHashMap.java
index 85b5fa0..947af9b 100644
--- a/src/test/java/com/yahoo/sketches/frequencies/StressTestHashMap.java
+++ b/src/test/java/org/apache/datasketches/frequencies/StressTestHashMap.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.frequencies;
+package org.apache.datasketches.frequencies;
 
-import com.yahoo.sketches.hash.MurmurHash3;
+import org.apache.datasketches.hash.MurmurHash3;
 
 @SuppressWarnings("javadoc")
 public class StressTestHashMap {
diff --git a/src/test/java/com/yahoo/sketches/hash/MurmurHash3AdaptorTest.java b/src/test/java/org/apache/datasketches/hash/MurmurHash3AdaptorTest.java
similarity index 95%
rename from src/test/java/com/yahoo/sketches/hash/MurmurHash3AdaptorTest.java
rename to src/test/java/org/apache/datasketches/hash/MurmurHash3AdaptorTest.java
index 7e8a7ef..a7eb871 100644
--- a/src/test/java/com/yahoo/sketches/hash/MurmurHash3AdaptorTest.java
+++ b/src/test/java/org/apache/datasketches/hash/MurmurHash3AdaptorTest.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
-import static com.yahoo.sketches.hash.MurmurHash3Adaptor.asDouble;
-import static com.yahoo.sketches.hash.MurmurHash3Adaptor.asInt;
-import static com.yahoo.sketches.hash.MurmurHash3Adaptor.hashToBytes;
-import static com.yahoo.sketches.hash.MurmurHash3Adaptor.hashToLongs;
-import static com.yahoo.sketches.hash.MurmurHash3Adaptor.modulo;
+import static org.apache.datasketches.hash.MurmurHash3Adaptor.asDouble;
+import static org.apache.datasketches.hash.MurmurHash3Adaptor.asInt;
+import static org.apache.datasketches.hash.MurmurHash3Adaptor.hashToBytes;
+import static org.apache.datasketches.hash.MurmurHash3Adaptor.hashToLongs;
+import static org.apache.datasketches.hash.MurmurHash3Adaptor.modulo;
 
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hash/MurmurHash3Test.java b/src/test/java/org/apache/datasketches/hash/MurmurHash3Test.java
similarity index 93%
rename from src/test/java/com/yahoo/sketches/hash/MurmurHash3Test.java
rename to src/test/java/org/apache/datasketches/hash/MurmurHash3Test.java
index 9267640..3bfbcd2 100644
--- a/src/test/java/com/yahoo/sketches/hash/MurmurHash3Test.java
+++ b/src/test/java/org/apache/datasketches/hash/MurmurHash3Test.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
 import static java.nio.charset.StandardCharsets.UTF_8;
 
 import org.testng.Assert;
@@ -201,30 +201,30 @@ public class MurmurHash3Test {
     println("Bytes");
     byte[] bArr = {1,2,3,4,5,6,7,8,   9,10,11,12,13,14,15,16,  17,18,19,20,21,22,23,24};
     long[] out1 = hash(bArr, 0L);
-    println(com.yahoo.sketches.Util.longToHexBytes(out1[0]));
-    println(com.yahoo.sketches.Util.longToHexBytes(out1[1]));
+    println(org.apache.datasketches.Util.longToHexBytes(out1[0]));
+    println(org.apache.datasketches.Util.longToHexBytes(out1[1]));
 
     println("Chars");
     char[] cArr = {0X0201, 0X0403, 0X0605, 0X0807,   0X0a09, 0X0c0b, 0X0e0d, 0X100f,
         0X1211, 0X1413, 0X1615, 0X1817};
     out = hash(cArr, 0L);
     Assert.assertEquals(out, out1);
-    println(com.yahoo.sketches.Util.longToHexBytes(out[0]));
-    println(com.yahoo.sketches.Util.longToHexBytes(out[1]));
+    println(org.apache.datasketches.Util.longToHexBytes(out[0]));
+    println(org.apache.datasketches.Util.longToHexBytes(out[1]));
 
     println("Ints");
     int[] iArr = {0X04030201, 0X08070605,   0X0c0b0a09, 0X100f0e0d,   0X14131211,   0X18171615};
     out = hash(iArr, 0L);
     Assert.assertEquals(out, out1);
-    println(com.yahoo.sketches.Util.longToHexBytes(out[0]));
-    println(com.yahoo.sketches.Util.longToHexBytes(out[1]));
+    println(org.apache.datasketches.Util.longToHexBytes(out[0]));
+    println(org.apache.datasketches.Util.longToHexBytes(out[1]));
 
     println("Longs");
     long[] lArr = {0X0807060504030201L, 0X100f0e0d0c0b0a09L, 0X1817161514131211L};
     out = hash(lArr, 0L);
     Assert.assertEquals(out, out1);
-    println(com.yahoo.sketches.Util.longToHexBytes(out[0]));
-    println(com.yahoo.sketches.Util.longToHexBytes(out[1]));
+    println(org.apache.datasketches.Util.longToHexBytes(out[0]));
+    println(org.apache.datasketches.Util.longToHexBytes(out[1]));
   }
 
 
diff --git a/src/test/java/com/yahoo/sketches/hash/MurmurHash3v2Test.java b/src/test/java/org/apache/datasketches/hash/MurmurHash3v2Test.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/hash/MurmurHash3v2Test.java
rename to src/test/java/org/apache/datasketches/hash/MurmurHash3v2Test.java
index 56c5407..2e074bd 100644
--- a/src/test/java/com/yahoo/sketches/hash/MurmurHash3v2Test.java
+++ b/src/test/java/org/apache/datasketches/hash/MurmurHash3v2Test.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hash/XxHashTest.java b/src/test/java/org/apache/datasketches/hash/XxHashTest.java
similarity index 93%
rename from src/test/java/com/yahoo/sketches/hash/XxHashTest.java
rename to src/test/java/org/apache/datasketches/hash/XxHashTest.java
index 825fbbe..53c34f5 100644
--- a/src/test/java/com/yahoo/sketches/hash/XxHashTest.java
+++ b/src/test/java/org/apache/datasketches/hash/XxHashTest.java
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hash;
+package org.apache.datasketches.hash;
 
 import static org.testng.Assert.assertEquals;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
+import org.apache.datasketches.memory.Memory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/AuxHashMapTest.java b/src/test/java/org/apache/datasketches/hll/AuxHashMapTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/hll/AuxHashMapTest.java
rename to src/test/java/org/apache/datasketches/hll/AuxHashMapTest.java
index 52d5d97..063cf9c 100644
--- a/src/test/java/com/yahoo/sketches/hll/AuxHashMapTest.java
+++ b/src/test/java/org/apache/datasketches/hll/AuxHashMapTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
@@ -25,7 +25,7 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.SketchesStateException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/BaseHllSketchTest.java b/src/test/java/org/apache/datasketches/hll/BaseHllSketchTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hll/BaseHllSketchTest.java
rename to src/test/java/org/apache/datasketches/hll/BaseHllSketchTest.java
index 9f85674..e78e807 100644
--- a/src/test/java/com/yahoo/sketches/hll/BaseHllSketchTest.java
+++ b/src/test/java/org/apache/datasketches/hll/BaseHllSketchTest.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/CouponListTest.java b/src/test/java/org/apache/datasketches/hll/CouponListTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/hll/CouponListTest.java
rename to src/test/java/org/apache/datasketches/hll/CouponListTest.java
index dbcd0ce..fc9eda1 100644
--- a/src/test/java/com/yahoo/sketches/hll/CouponListTest.java
+++ b/src/test/java/org/apache/datasketches/hll/CouponListTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertNotNull;
@@ -26,7 +26,7 @@ import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/CrossCountingTest.java b/src/test/java/org/apache/datasketches/hll/CrossCountingTest.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/hll/CrossCountingTest.java
rename to src/test/java/org/apache/datasketches/hll/CrossCountingTest.java
index 2e99167..dbb5a33 100644
--- a/src/test/java/com/yahoo/sketches/hll/CrossCountingTest.java
+++ b/src/test/java/org/apache/datasketches/hll/CrossCountingTest.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 import static org.testng.Assert.assertEquals;
 
 import org.testng.annotations.Test;
diff --git a/src/test/java/com/yahoo/sketches/hll/DirectAuxHashMapTest.java b/src/test/java/org/apache/datasketches/hll/DirectAuxHashMapTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hll/DirectAuxHashMapTest.java
rename to src/test/java/org/apache/datasketches/hll/DirectAuxHashMapTest.java
index 30a1510..d25efc6 100644
--- a/src/test/java/com/yahoo/sketches/hll/DirectAuxHashMapTest.java
+++ b/src/test/java/org/apache/datasketches/hll/DirectAuxHashMapTest.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertNull;
@@ -30,10 +30,10 @@ import java.util.HashMap;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableDirectHandle;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesStateException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableDirectHandle;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.SketchesStateException;
 
 
 /**
diff --git a/src/test/java/com/yahoo/sketches/hll/DirectCouponListTest.java b/src/test/java/org/apache/datasketches/hll/DirectCouponListTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hll/DirectCouponListTest.java
rename to src/test/java/org/apache/datasketches/hll/DirectCouponListTest.java
index f0f55d6..c045272 100644
--- a/src/test/java/com/yahoo/sketches/hll/DirectCouponListTest.java
+++ b/src/test/java/org/apache/datasketches/hll/DirectCouponListTest.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.PreambleUtil.LG_ARR_BYTE;
+import static org.apache.datasketches.hll.PreambleUtil.LG_ARR_BYTE;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertNull;
@@ -27,9 +27,9 @@ import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableDirectHandle;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableDirectHandle;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/DirectHllSketchTest.java b/src/test/java/org/apache/datasketches/hll/DirectHllSketchTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/hll/DirectHllSketchTest.java
rename to src/test/java/org/apache/datasketches/hll/DirectHllSketchTest.java
index 3dfbdc5..e5b7615 100644
--- a/src/test/java/com/yahoo/sketches/hll/DirectHllSketchTest.java
+++ b/src/test/java/org/apache/datasketches/hll/DirectHllSketchTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
@@ -27,9 +27,9 @@ import java.util.HashSet;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/DirectUnionCaseTest.java b/src/test/java/org/apache/datasketches/hll/DirectUnionCaseTest.java
similarity index 96%
rename from src/test/java/com/yahoo/sketches/hll/DirectUnionCaseTest.java
rename to src/test/java/org/apache/datasketches/hll/DirectUnionCaseTest.java
index fdf27f0..be543f3 100644
--- a/src/test/java/com/yahoo/sketches/hll/DirectUnionCaseTest.java
+++ b/src/test/java/org/apache/datasketches/hll/DirectUnionCaseTest.java
@@ -17,21 +17,21 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.CurMode.HLL;
-import static com.yahoo.sketches.hll.CurMode.LIST;
-import static com.yahoo.sketches.hll.CurMode.SET;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
+import static org.apache.datasketches.hll.CurMode.HLL;
+import static org.apache.datasketches.hll.CurMode.LIST;
+import static org.apache.datasketches.hll.CurMode.SET;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/DirectUnionTest.java b/src/test/java/org/apache/datasketches/hll/DirectUnionTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hll/DirectUnionTest.java
rename to src/test/java/org/apache/datasketches/hll/DirectUnionTest.java
index 06e48dc..386dcf2 100644
--- a/src/test/java/com/yahoo/sketches/hll/DirectUnionTest.java
+++ b/src/test/java/org/apache/datasketches/hll/DirectUnionTest.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 import static java.lang.Math.min;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
@@ -30,9 +30,9 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/HllArrayTest.java b/src/test/java/org/apache/datasketches/hll/HllArrayTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hll/HllArrayTest.java
rename to src/test/java/org/apache/datasketches/hll/HllArrayTest.java
index b88fc8c..cfcd86e 100644
--- a/src/test/java/com/yahoo/sketches/hll/HllArrayTest.java
+++ b/src/test/java/org/apache/datasketches/hll/HllArrayTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
@@ -25,7 +25,7 @@ import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/HllSketchTest.java b/src/test/java/org/apache/datasketches/hll/HllSketchTest.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/hll/HllSketchTest.java
rename to src/test/java/org/apache/datasketches/hll/HllSketchTest.java
index f62c60e..7c926b7 100644
--- a/src/test/java/com/yahoo/sketches/hll/HllSketchTest.java
+++ b/src/test/java/org/apache/datasketches/hll/HllSketchTest.java
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.HllSketch.getMaxUpdatableSerializationBytes;
-import static com.yahoo.sketches.hll.HllUtil.LG_AUX_ARR_INTS;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_LIST_SIZE;
-import static com.yahoo.sketches.hll.HllUtil.LG_INIT_SET_SIZE;
-import static com.yahoo.sketches.hll.PreambleUtil.HASH_SET_INT_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
-import static com.yahoo.sketches.hll.PreambleUtil.LIST_INT_ARR_START;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.HllSketch.getMaxUpdatableSerializationBytes;
+import static org.apache.datasketches.hll.HllUtil.LG_AUX_ARR_INTS;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_LIST_SIZE;
+import static org.apache.datasketches.hll.HllUtil.LG_INIT_SET_SIZE;
+import static org.apache.datasketches.hll.PreambleUtil.HASH_SET_INT_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.HLL_BYTE_ARR_START;
+import static org.apache.datasketches.hll.PreambleUtil.LIST_INT_ARR_START;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertNull;
@@ -37,9 +37,9 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/PreambleUtilTest.java b/src/test/java/org/apache/datasketches/hll/PreambleUtilTest.java
similarity index 90%
rename from src/test/java/com/yahoo/sketches/hll/PreambleUtilTest.java
rename to src/test/java/org/apache/datasketches/hll/PreambleUtilTest.java
index 0f5c193..9137276 100644
--- a/src/test/java/com/yahoo/sketches/hll/PreambleUtilTest.java
+++ b/src/test/java/org/apache/datasketches/hll/PreambleUtilTest.java
@@ -17,15 +17,15 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
-
-import static com.yahoo.sketches.hll.PreambleUtil.EMPTY_FLAG_MASK;
-import static com.yahoo.sketches.hll.PreambleUtil.FAMILY_BYTE;
-import static com.yahoo.sketches.hll.PreambleUtil.SER_VER_BYTE;
-import static com.yahoo.sketches.hll.PreambleUtil.extractFlags;
-import static com.yahoo.sketches.hll.PreambleUtil.insertFamilyId;
-import static com.yahoo.sketches.hll.PreambleUtil.insertPreInts;
-import static com.yahoo.sketches.hll.PreambleUtil.insertSerVer;
+package org.apache.datasketches.hll;
+
+import static org.apache.datasketches.hll.PreambleUtil.EMPTY_FLAG_MASK;
+import static org.apache.datasketches.hll.PreambleUtil.FAMILY_BYTE;
+import static org.apache.datasketches.hll.PreambleUtil.SER_VER_BYTE;
+import static org.apache.datasketches.hll.PreambleUtil.extractFlags;
+import static org.apache.datasketches.hll.PreambleUtil.insertFamilyId;
+import static org.apache.datasketches.hll.PreambleUtil.insertPreInts;
+import static org.apache.datasketches.hll.PreambleUtil.insertSerVer;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertTrue;
@@ -33,9 +33,9 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/TablesTest.java b/src/test/java/org/apache/datasketches/hll/TablesTest.java
similarity index 85%
rename from src/test/java/com/yahoo/sketches/hll/TablesTest.java
rename to src/test/java/org/apache/datasketches/hll/TablesTest.java
index e5c302a..7f8b93b 100644
--- a/src/test/java/com/yahoo/sketches/hll/TablesTest.java
+++ b/src/test/java/org/apache/datasketches/hll/TablesTest.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.CouponMapping.xArr;
-import static com.yahoo.sketches.hll.CouponMapping.yArr;
-import static com.yahoo.sketches.hll.CubicInterpolation.usingXAndYTables;
+import static org.apache.datasketches.hll.CouponMapping.xArr;
+import static org.apache.datasketches.hll.CouponMapping.yArr;
+import static org.apache.datasketches.hll.CubicInterpolation.usingXAndYTables;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/ToFromByteArrayTest.java b/src/test/java/org/apache/datasketches/hll/ToFromByteArrayTest.java
similarity index 93%
rename from src/test/java/com/yahoo/sketches/hll/ToFromByteArrayTest.java
rename to src/test/java/org/apache/datasketches/hll/ToFromByteArrayTest.java
index 2bf5f92..2cf24ac 100644
--- a/src/test/java/com/yahoo/sketches/hll/ToFromByteArrayTest.java
+++ b/src/test/java/org/apache/datasketches/hll/ToFromByteArrayTest.java
@@ -17,17 +17,17 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 import static org.testng.Assert.assertEquals;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hll/UnionCaseTest.java b/src/test/java/org/apache/datasketches/hll/UnionCaseTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hll/UnionCaseTest.java
rename to src/test/java/org/apache/datasketches/hll/UnionCaseTest.java
index 738d5a5..f4e4590 100644
--- a/src/test/java/com/yahoo/sketches/hll/UnionCaseTest.java
+++ b/src/test/java/org/apache/datasketches/hll/UnionCaseTest.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.CurMode.HLL;
-import static com.yahoo.sketches.hll.CurMode.LIST;
-import static com.yahoo.sketches.hll.CurMode.SET;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
+import static org.apache.datasketches.hll.CurMode.HLL;
+import static org.apache.datasketches.hll.CurMode.LIST;
+import static org.apache.datasketches.hll.CurMode.SET;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
 import static org.testng.Assert.assertTrue;
diff --git a/src/test/java/com/yahoo/sketches/hll/UnionTest.java b/src/test/java/org/apache/datasketches/hll/UnionTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hll/UnionTest.java
rename to src/test/java/org/apache/datasketches/hll/UnionTest.java
index 873c1e0..e465554 100644
--- a/src/test/java/com/yahoo/sketches/hll/UnionTest.java
+++ b/src/test/java/org/apache/datasketches/hll/UnionTest.java
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hll;
+package org.apache.datasketches.hll;
 
-import static com.yahoo.sketches.hll.TgtHllType.HLL_4;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_6;
-import static com.yahoo.sketches.hll.TgtHllType.HLL_8;
+import static org.apache.datasketches.hll.TgtHllType.HLL_4;
+import static org.apache.datasketches.hll.TgtHllType.HLL_6;
+import static org.apache.datasketches.hll.TgtHllType.HLL_8;
 import static java.lang.Math.min;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
@@ -30,8 +30,8 @@ import static org.testng.Assert.fail;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.SketchesArgumentException;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/hllmap/CouponHashMapTest.java b/src/test/java/org/apache/datasketches/hllmap/CouponHashMapTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hllmap/CouponHashMapTest.java
rename to src/test/java/org/apache/datasketches/hllmap/CouponHashMapTest.java
index 94d03e2..ed87f3b 100644
--- a/src/test/java/com/yahoo/sketches/hllmap/CouponHashMapTest.java
+++ b/src/test/java/org/apache/datasketches/hllmap/CouponHashMapTest.java
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 import static java.nio.charset.StandardCharsets.UTF_8;
 
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesArgumentException;
+import org.apache.datasketches.SketchesArgumentException;
 
 @SuppressWarnings("javadoc")
 public class CouponHashMapTest {
diff --git a/src/test/java/com/yahoo/sketches/hllmap/CouponTraverseMapTest.java b/src/test/java/org/apache/datasketches/hllmap/CouponTraverseMapTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/hllmap/CouponTraverseMapTest.java
rename to src/test/java/org/apache/datasketches/hllmap/CouponTraverseMapTest.java
index 373e99e..418bc0f 100644
--- a/src/test/java/com/yahoo/sketches/hllmap/CouponTraverseMapTest.java
+++ b/src/test/java/org/apache/datasketches/hllmap/CouponTraverseMapTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 import static java.nio.charset.StandardCharsets.UTF_8;
 
diff --git a/src/test/java/com/yahoo/sketches/hllmap/HllMapTest.java b/src/test/java/org/apache/datasketches/hllmap/HllMapTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/hllmap/HllMapTest.java
rename to src/test/java/org/apache/datasketches/hllmap/HllMapTest.java
index 2bf092d..4917e0e 100644
--- a/src/test/java/com/yahoo/sketches/hllmap/HllMapTest.java
+++ b/src/test/java/org/apache/datasketches/hllmap/HllMapTest.java
@@ -17,12 +17,12 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.Util;
 
 @SuppressWarnings("javadoc")
 public class HllMapTest {
diff --git a/src/test/java/com/yahoo/sketches/hllmap/SingleCouponMapTest.java b/src/test/java/org/apache/datasketches/hllmap/SingleCouponMapTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/hllmap/SingleCouponMapTest.java
rename to src/test/java/org/apache/datasketches/hllmap/SingleCouponMapTest.java
index 366abc1..a5427d4 100644
--- a/src/test/java/com/yahoo/sketches/hllmap/SingleCouponMapTest.java
+++ b/src/test/java/org/apache/datasketches/hllmap/SingleCouponMapTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
 import static java.nio.charset.StandardCharsets.UTF_8;
 
diff --git a/src/test/java/com/yahoo/sketches/hllmap/UniqueCountMapTest.java b/src/test/java/org/apache/datasketches/hllmap/UniqueCountMapTest.java
similarity index 97%
rename from src/test/java/com/yahoo/sketches/hllmap/UniqueCountMapTest.java
rename to src/test/java/org/apache/datasketches/hllmap/UniqueCountMapTest.java
index 85f44f8..82a0037 100644
--- a/src/test/java/com/yahoo/sketches/hllmap/UniqueCountMapTest.java
+++ b/src/test/java/org/apache/datasketches/hllmap/UniqueCountMapTest.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.hllmap;
+package org.apache.datasketches.hllmap;
 
-import static com.yahoo.sketches.hash.MurmurHash3.hash;
+import static org.apache.datasketches.hash.MurmurHash3.hash;
 import static java.nio.charset.StandardCharsets.UTF_8;
 
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.Util;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.Util;
 
 @SuppressWarnings("javadoc")
 public class UniqueCountMapTest {
diff --git a/src/test/java/com/yahoo/sketches/kll/DeprecatedAndMiscTest.java b/src/test/java/org/apache/datasketches/kll/DeprecatedAndMiscTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/kll/DeprecatedAndMiscTest.java
rename to src/test/java/org/apache/datasketches/kll/DeprecatedAndMiscTest.java
index 3446c09..d6f1583 100644
--- a/src/test/java/com/yahoo/sketches/kll/DeprecatedAndMiscTest.java
+++ b/src/test/java/org/apache/datasketches/kll/DeprecatedAndMiscTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 import static org.testng.Assert.assertEquals;
 
diff --git a/src/test/java/com/yahoo/sketches/kll/KllFloatsSketchIteratorTest.java b/src/test/java/org/apache/datasketches/kll/KllFloatsSketchIteratorTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/kll/KllFloatsSketchIteratorTest.java
rename to src/test/java/org/apache/datasketches/kll/KllFloatsSketchIteratorTest.java
index 9d0984b..7732efc 100644
--- a/src/test/java/com/yahoo/sketches/kll/KllFloatsSketchIteratorTest.java
+++ b/src/test/java/org/apache/datasketches/kll/KllFloatsSketchIteratorTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 import org.testng.Assert;
 import org.testng.annotations.Test;
diff --git a/src/test/java/com/yahoo/sketches/kll/KllFloatsSketchTest.java b/src/test/java/org/apache/datasketches/kll/KllFloatsSketchTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/kll/KllFloatsSketchTest.java
rename to src/test/java/org/apache/datasketches/kll/KllFloatsSketchTest.java
index 3a33bb7..0c3ba2c 100644
--- a/src/test/java/com/yahoo/sketches/kll/KllFloatsSketchTest.java
+++ b/src/test/java/org/apache/datasketches/kll/KllFloatsSketchTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertFalse;
@@ -27,9 +27,9 @@ import static org.testng.Assert.assertTrue;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.Memory;
-import com.yahoo.sketches.SketchesArgumentException;
-import com.yahoo.sketches.tuple.TestUtil;
+import org.apache.datasketches.memory.Memory;
+import org.apache.datasketches.SketchesArgumentException;
+import org.apache.datasketches.tuple.TestUtil;
 
 @SuppressWarnings("javadoc")
 public class KllFloatsSketchTest {
diff --git a/src/test/java/com/yahoo/sketches/kll/KllValidationTest.java b/src/test/java/org/apache/datasketches/kll/KllValidationTest.java
similarity index 99%
rename from src/test/java/com/yahoo/sketches/kll/KllValidationTest.java
rename to src/test/java/org/apache/datasketches/kll/KllValidationTest.java
index a9cede5..8f7bf84 100644
--- a/src/test/java/com/yahoo/sketches/kll/KllValidationTest.java
+++ b/src/test/java/org/apache/datasketches/kll/KllValidationTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.kll;
+package org.apache.datasketches.kll;
 
 import org.testng.Assert;
 
diff --git a/src/test/java/com/yahoo/sketches/quantiles/AccuracyTest.java b/src/test/java/org/apache/datasketches/quantiles/AccuracyTest.java
similarity index 98%
rename from src/test/java/com/yahoo/sketches/quantiles/AccuracyTest.java
rename to src/test/java/org/apache/datasketches/quantiles/AccuracyTest.java
index 5b16e0b..a8b6fdb 100644
--- a/src/test/java/com/yahoo/sketches/quantiles/AccuracyTest.java
+++ b/src/test/java/org/apache/datasketches/quantiles/AccuracyTest.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
 import java.util.Random;
 
diff --git a/src/test/java/com/yahoo/sketches/quantiles/DebugUnionTest.java b/src/test/java/org/apache/datasketches/quantiles/DebugUnionTest.java
similarity index 94%
rename from src/test/java/com/yahoo/sketches/quantiles/DebugUnionTest.java
rename to src/test/java/org/apache/datasketches/quantiles/DebugUnionTest.java
index ad1d662..e56f907 100644
--- a/src/test/java/com/yahoo/sketches/quantiles/DebugUnionTest.java
+++ b/src/test/java/org/apache/datasketches/quantiles/DebugUnionTest.java
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.quantiles.Util.LS;
+import static org.apache.datasketches.quantiles.Util.LS;
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertTrue;
 
@@ -27,8 +27,8 @@ import java.util.HashSet;
 
 import org.testng.annotations.Test;
 
-import com.yahoo.memory.WritableDirectHandle;
-import com.yahoo.memory.WritableMemory;
+import org.apache.datasketches.memory.WritableDirectHandle;
+import org.apache.datasketches.memory.WritableMemory;
 
 /**
  * @author Lee Rhodes
diff --git a/src/test/java/com/yahoo/sketches/quantiles/DeprecatedAndMiscTest.java b/src/test/java/org/apache/datasketches/quantiles/DeprecatedAndMiscTest.java
similarity index 88%
rename from src/test/java/com/yahoo/sketches/quantiles/DeprecatedAndMiscTest.java
rename to src/test/java/org/apache/datasketches/quantiles/DeprecatedAndMiscTest.java
index 600615b..8a9b88d 100644
--- a/src/test/java/com/yahoo/sketches/quantiles/DeprecatedAndMiscTest.java
+++ b/src/test/java/org/apache/datasketches/quantiles/DeprecatedAndMiscTest.java
@@ -17,16 +17,16 @@
  * under the License.
  */
 
-package com.yahoo.sketches.quantiles;
+package org.apache.datasketches.quantiles;
 
-import static com.yahoo.sketches.quantiles.HeapUpdateDoublesSketchTest.buildAndLoadQS;
+import static org.apache.datasketches.quantiles.HeapUpdateDoublesSketchTest.buildAndLoadQS;
 
... 2528 lines suppressed ...


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org