Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1376

Make port specification option in thrift remote

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • C++ - Library
    • None

    Description

      From d78c3abb5b6d8bf01a43cee53fcda4598874ab9c Mon Sep 17 00:00:00 2001
      From: Doug Ihde <dihde@fb.com>
      Date: Fri, 19 Mar 2010 01:30:57 +0000
      Subject: [PATCH 4/9] make port specification option in thrift-generated
      python service client

      Summary:
      The thrift-generated Python service client allows overriding the default host/port by doing "-h host:port" on the command line. Oftentimes, you want to override the host but not the port, as most services run on well-defined ports.

      Test Plan:
      Run thrift generation code and test out the new client by doing "BlahService-remote -h somehost getStatus"

      Revert Plan:
      OK


      compiler/cpp/src/generate/t_py_generator.cc | 5 +++--
      1 files changed, 3 insertions, 2 deletions

      Attachments

        Activity

          People

            davejwatson@fb Dave Watson
            davejwatson@fb Dave Watson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: