Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6EF54200D35 for ; Tue, 7 Nov 2017 23:43:13 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6D72A160BED; Tue, 7 Nov 2017 22:43:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B3745160BEB for ; Tue, 7 Nov 2017 23:43:12 +0100 (CET) Received: (qmail 13017 invoked by uid 500); 7 Nov 2017 22:43:11 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 13008 invoked by uid 99); 7 Nov 2017 22:43:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2017 22:43:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EE449CD952 for ; Tue, 7 Nov 2017 22:43:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jgP4ccm2P4YK for ; Tue, 7 Nov 2017 22:43:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4410369683 for ; Tue, 7 Nov 2017 22:43:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CDB1DE08C9 for ; Tue, 7 Nov 2017 22:43:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E5F1A23F05 for ; Tue, 7 Nov 2017 22:43:01 +0000 (UTC) Date: Tue, 7 Nov 2017 22:43:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-3156) Use non-deprecated Futures.addCallback function. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 07 Nov 2017 22:43:13 -0000 [ https://issues.apache.org/jira/browse/BEAM-3156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243048#comment-16243048 ] ASF GitHub Bot commented on BEAM-3156: -------------------------------------- GitHub user rniemo-g opened a pull request: https://github.com/apache/beam/pull/4095 [BEAM-3156] Fix BigTableIO to use non-deprecated Futures.addCallback function Follow this checklist to help us incorporate your contribution quickly and easily: - [ x] Make sure there is a [JIRA issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [ x] Each commit in the pull request should have a meaningful subject line and body. - [ x] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue. - [x ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x ] Run `mvn clean verify` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. - [x ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). Jira issue: https://issues.apache.org/jira/browse/BEAM-3156 This PR changes which Futures.addCallback() overload we call. This is because the overload we're using is being deprecated. --- You can merge this pull request into a Git repository by running: $ git pull https://github.com/rniemo-g/beam master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/4095.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4095 ---- commit 961bd22d1ae4f7a9b4dc87e7b3c30a26ce1878cd Author: Ryan Niemocienski Date: 2017-10-31T20:56:15Z Fix BigTableIO to use non-deprecated Futures.addCallback function ---- > Use non-deprecated Futures.addCallback function. > ------------------------------------------------ > > Key: BEAM-3156 > URL: https://issues.apache.org/jira/browse/BEAM-3156 > Project: Beam > Issue Type: Improvement > Components: sdk-java-gcp > Reporter: Ryan Niemocienski > Assignee: Chamikara Jayalath > Priority: Minor > > addCallback(ListenableFuture, FutureCallback) is in the process of being deprecated in favor of addCallback(ListenableFuture, FutureCallback, Executor). Currently BigtableIO uses the former function call; switch it to the second one. -- This message was sent by Atlassian JIRA (v6.4.14#64029)