You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Du, Jingcheng" <ji...@intel.com> on 2015/09/25 04:15:16 UTC

Is it necessary to use an individual wait time for each procedure

Hi all,

  Currently HBaseAdmin.execProcedure uses a default wait time (SnapshotDescriptionUtils.DEFAULT_MAX_WAIT_TIME) for all procedure calls. Should we use an individual value for each procedure?
  I guess, we could add a return value for MasterProcedureManager.execProcedure which is a long time for wait time of each procedure. Or we can add the wait time information in Admin.execProcedure API? Is this necessary? Thanks a lot!

Regards,
Jingcheng

Re: Is it necessary to use an individual wait time for each procedure

Posted by Jingcheng Du <ji...@intel.com>.
Sorry for my misleading description:)
Each procedure call provides a wait time for HBaseAdmin, that is defined in
MasterRpcServices.execProcedure and uses a default value of snapshot for all
procedure calls.



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Is-it-necessary-to-use-an-individual-wait-time-for-each-procedure-tp4074899p4074901.html
Sent from the HBase Developer mailing list archive at Nabble.com.

Re: Is it necessary to use an individual wait time for each procedure

Posted by Ted Yu <yu...@gmail.com>.
Looking at master branch:

    this.operationTimeout = this.conf.getInt(HConstants.
HBASE_CLIENT_OPERATION_TIMEOUT,

        HConstants.DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT);

If I read code correctly, HBaseAdmin.execProcedure() uses the above.

Which procedure were you checking ?

Cheers

On Thu, Sep 24, 2015 at 7:15 PM, Du, Jingcheng <ji...@intel.com>
wrote:

> Hi all,
>
>   Currently HBaseAdmin.execProcedure uses a default wait time
> (SnapshotDescriptionUtils.DEFAULT_MAX_WAIT_TIME) for all procedure calls.
> Should we use an individual value for each procedure?
>   I guess, we could add a return value for
> MasterProcedureManager.execProcedure which is a long time for wait time of
> each procedure. Or we can add the wait time information in
> Admin.execProcedure API? Is this necessary? Thanks a lot!
>
> Regards,
> Jingcheng
>