Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: WritableUtils.writeString is not a function #88

Open
jasonslyvia opened this issue Mar 22, 2017 · 0 comments
Open

TypeError: WritableUtils.writeString is not a function #88

jasonslyvia opened this issue Mar 22, 2017 · 0 comments

Comments

@jasonslyvia
Copy link

When setting an attribute for scan using scan.setAttribute(name, value), causing the following error thrown.

Seems like there is no method called writeString in https://github.com/alibaba/node-hbase-client/blob/04463814fd89db6e972ce904d592ccd9ea16947a/lib/writable_utils.js

Hbase client version: 1.4.0

2017-03-22 18:07:13,948 ERROR 151285 nodejs.TypeError: WritableUtils.writeString is not a function (uncaughtException throw 1 times on pid:151285)
    at Scan.OperationWithAttributes.writeAttributes (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/operation_with_attributes.js:63:21)
    at Scan.write (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/scan.js:170:8)
    at Object.exports.writeObject (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/io/hbase_object_writable.js:339:14)
    at Invocation.write (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/ipc/invocation.js:52:25)
    at Connection.sendParam (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/connection.js:238:14)
    at Connection.call (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/connection.js:371:8)
    at Connection.openScanner (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/connection.js:466:8)
    at Client.<anonymous> (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/client.js:208:21)
    at Client.g (events.js:291:16)
    at emitTwo (events.js:106:13)
    at Client.emit (events.js:191:7)
    at /home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/client.js:980:12
    at Call.<anonymous> (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/connection.js:359:5)
    at emitTwo (events.js:106:13)
    at Call.emit (events.js:191:7)
    at Call.callComplete (/home/admin/fsp/target/fsp/node_modules/.1.4.0@hbase-client/lib/connection.js:554:8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant