Questions tagged [writable]
121 questions
2
votes
1 answer
How to make any DIRECTORY WRITABLE , on heroku?
How to make any DIRECTORY WRITABLE , on heroku ??
because I make an app on facebook , with heroku hosting
but there is some DIRECTORY should be WRITABLE to run my app .
thank you

user1992517
- 23
- 3
2
votes
1 answer
Hadoop - How to switch from implementing the writable interface to use an Avro object?
I’m using Hadoop to convert JSONs into CSV files to access them with Hive.
At the moment the Mapper is filling an own data structure parsing the JSONs with JSON-Smart. Then the reducer is reading out that object and is writing it to a file,…

Tim Bittersohl
- 149
- 2
- 11
1
vote
1 answer
Hadoop 0.20.205.0 WritableComparator doesn't respect Configurable keys
I've been trying to run a hadoop 0.20.205.0 MapReduce job (single-thread, locally) which is exhibiting all kinds of weird and unexpected behavior. I finally figured out why. This looks to me like a bug in hadoop, but maybe there's something I…

dspyz
- 5,280
- 2
- 25
- 63
1
vote
1 answer
Local variable updates then when props is passed it reverts to old value
I have a small Svelte app and love the framework, but I am running into a issue with local variables. There is a local writable variable declared in a child component and is only used in this component. It is updated when a on:click event is fired…

Ryan Carville
- 355
- 7
- 15
1
vote
1 answer
Svelte: how to create a Blob from `writable store`?
How can I use a "writable store" to create a "blob"?
I am new to Svelte.
I am trying to code a simple markdown editor for visually impaired users. The content of the "textarea" is stored in a "writable store" for further…

Henriette
- 13
- 3
1
vote
1 answer
Writable store is overwritten on page change, SvelteKit
I to values stored in a writable store
import { writable } from 'svelte/store'
export const user = writable(null)
export const isLoggedIn = writable(false)
I then import these values from and set them in the index
import { getAuth,…

Daniel Okita
- 21
- 4
1
vote
1 answer
does not write to the created stream writable node.js
let testWriteableStream_1 = fs.createWriteStream("logs/test_profit_1.csv", { flags: 'a' });
let testWriteableStream_2 = false;
let testFlag = { number: 1 };
let testCount = { number: 0 };
let testCountAll = { number: 0 };
function…

Illusion
- 71
- 9
1
vote
2 answers
hadoop CustomWritables
I have more of a design question regarding the necessity of a CustomWritable for my use case:
So I have a document pair that I will process through a pipeline and write out intermediate and final data to HDFS. My key will be something like ObjectId…

Meg
- 131
- 10
1
vote
1 answer
Hadoop writable readFields EOFException
I am implementing my own Writable for Hadoop secondary sort, but when running the job, Hadoop keeps throwing EOFException in my readFields method and I don't know what's wrong with it.
Error stack trace:
java.lang.Exception:…

yzhan
- 170
- 1
- 3
- 13
1
vote
1 answer
Create Writable folder in Visual Studio 2010 Web-Setup Project
I've got a VS2010 web-setup project which works well and creates a virtual directory under IIS for my ASP.NET project.
I need it to create a directory for the logs. I've managed to do this by creating a WebFolder and setting it to be writable. The…

Gordon Thompson
- 4,764
- 8
- 48
- 62
1
vote
0 answers
Android O native library (.so) ELF W+E warning, editing the binary file
I have an (older) Android application which has its targetSDK set to 19, has a few native libraries (.so files) included and runs fine on devices up to API 23.
Running on an Android O device a build with still with targetSdk 19 and practically no…

Puiu Ioan
- 89
- 2
- 7
1
vote
2 answers
Hadoop Reducer Custom Writable
I have this following Reducer class
public class CompanyMinMaxReducer extends Reducer {
private Text rText = new Text();
public void reduce(Text key, Iterable values, Context context)
…

GoldenBoyLDN
- 76
- 9
1
vote
1 answer
Why can't I set the writable attribute using a property descriptor in Object.create()?
I am new to JS and I wonder why this piece of code prints false. What am I doing wrong? Thank you for any hint!
var x = Object.create(Object.prototype, {x:{value:3, writable:true, enumerable:true}});
console.log(x.propertyIsEnumerable(x)); //false

Florian Wicher
- 71
- 1
- 7
1
vote
2 answers
hadoop + Writable interface + readFields throws an exception in reducer
I have a simple map-reduce program in which my map and reduce primitives look like this
map(K,V) = (Text, OutputAggregator)
reduce(Text, OutputAggregator) = (Text,Text)
The important point is that from my map function I emit an object of type…

rakeshr
- 1,027
- 3
- 17
- 25
1
vote
1 answer
Deserialize MapWritable within custom java class
I am currently trying to deserialize a custom object where one of the fields is a MapWritable and the other one is a String. It seems serialization works ok, but can't verify that the object is being recreated properly. He are my fields and the…

Alex Ramos
- 135
- 2
- 14